git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix queue_name tracking across exec
[exim.git]
/
src
/
src
/
routers
/
redirect.c
diff --git
a/src/src/routers/redirect.c
b/src/src/routers/redirect.c
index 2efb42160d3318755b35a79ae1f390a228aede14..2434d3cb752f3ae492c57608a6f8c68d4a3b70a0 100644
(file)
--- a/
src/src/routers/redirect.c
+++ b/
src/src/routers/redirect.c
@@
-2,7
+2,7
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 201
5
*/
+/* Copyright (c) University of Cambridge 1995 - 201
6
*/
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
@@
-655,8
+655,8
@@
if (!ugid.gid_set && pw != NULL)
// eximsrs_db_set(FALSE, NULL);
*/
// eximsrs_db_set(FALSE, NULL);
*/
- if
(ob->srs_alias != NULL ? (usedomain = expand_string(ob->srs_alias)) == NULL : 1
)
- usedomain =
deliver_domain
;
+ if
(!(usedomain = ob->srs_alias ? expand_string(ob->srs_alias) : NULL)
)
+ usedomain =
string_copy(deliver_domain)
;
if((n_srs = eximsrs_forward(&res, sender_address, usedomain)) == OK)
{
if((n_srs = eximsrs_forward(&res, sender_address, usedomain)) == OK)
{