masqmail
diff src/deliver.c @ 370:d86d7b4b8995
Broke long lines.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Tue, 25 Oct 2011 13:50:27 +0200 |
parents | b27f66555ba8 |
children | b0708fac99dd |
line diff
1.1 --- a/src/deliver.c Thu Oct 20 10:23:47 2011 +0200 1.2 +++ b/src/deliver.c Tue Oct 25 13:50:27 2011 +0200 1.3 @@ -273,7 +273,8 @@ 1.4 } 1.5 1.6 gboolean 1.7 -deliver_msglist_host_pipe(connect_route *route, GList *msgout_list, gchar *host, GList *res_list) 1.8 +deliver_msglist_host_pipe(connect_route *route, GList *msgout_list, 1.9 + gchar *host, GList *res_list) 1.10 { 1.11 gboolean ok = TRUE; 1.12 GList *msgout_node; 1.13 @@ -477,7 +478,8 @@ 1.14 } 1.15 1.16 gboolean 1.17 -deliver_msglist_host(connect_route *route, GList *msgout_list, gchar *host, GList *res_list) 1.18 +deliver_msglist_host(connect_route *route, GList *msgout_list, gchar *host, 1.19 + GList *res_list) 1.20 { 1.21 1.22 if (route->pipe) { 1.23 @@ -503,7 +505,8 @@ 1.24 1.25 if (route->mail_host) { 1.26 /* this is easy... deliver everything to a smart host for relay */ 1.27 - return deliver_msglist_host(route, msgout_list, NULL, route->resolve_list); 1.28 + return deliver_msglist_host(route, msgout_list, NULL, 1.29 + route->resolve_list); 1.30 } 1.31 1.32 /* this is not easy... */ 1.33 @@ -522,7 +525,8 @@ 1.34 */ 1.35 foreach(mo_ph_list, mo_ph_node) { 1.36 msgout_perhost *mo_ph = (msgout_perhost *) (mo_ph_node->data); 1.37 - if (deliver_msglist_host(route, mo_ph->msgout_list, mo_ph->host, route->resolve_list)) { 1.38 + if (deliver_msglist_host(route, mo_ph->msgout_list, 1.39 + mo_ph->host, route->resolve_list)) { 1.40 ok = TRUE; 1.41 } 1.42 destroy_msgout_perhost(mo_ph); 1.43 @@ -583,13 +587,15 @@ 1.44 /* filter by allowed envelope rcpts */ 1.45 GList *rcpt_list_allowed = NULL; 1.46 GList *rcpt_list_notallowed = NULL; 1.47 - route_split_rcpts(route, msgout_cloned->rcpt_list, &rcpt_list_allowed, &rcpt_list_notallowed); 1.48 + route_split_rcpts(route, msgout_cloned->rcpt_list, 1.49 + &rcpt_list_allowed, &rcpt_list_notallowed); 1.50 if (!rcpt_list_allowed) { 1.51 destroy_msg_out(msgout_cloned); 1.52 continue; 1.53 } 1.54 1.55 - logwrite(LOG_NOTICE, "%s using '%s'\n", msgout->msg->uid, route->name); 1.56 + logwrite(LOG_NOTICE, "%s using '%s'\n", msgout->msg->uid, 1.57 + route->name); 1.58 1.59 g_list_free(msgout_cloned->rcpt_list); 1.60 msgout_cloned->rcpt_list = rcpt_list_allowed;