masqmail
diff src/fail_msg.c @ 15:f671821d8222
code beautifying; 0 -> \0 if appropriate
author | meillo@marmaro.de |
---|---|
date | Thu, 06 Nov 2008 09:18:38 +0100 |
parents | 26e34ae9a3e3 |
children | dcb315792513 |
line diff
1.1 --- a/src/fail_msg.c Wed Oct 29 21:21:26 2008 +0100 1.2 +++ b/src/fail_msg.c Thu Nov 06 09:18:38 2008 +0100 1.3 @@ -29,7 +29,7 @@ 1.4 address *ret_path = NULL; 1.5 1.6 /* do not bounce bounces, send to postmaster instead */ 1.7 - if (msg->return_path->local_part[0] == 0) { 1.8 + if (msg->return_path->local_part[0] == '\0') { 1.9 GList *node; 1.10 1.11 ret_path = create_address_qualified("postmaster", TRUE, conf.host_name); 1.12 @@ -79,8 +79,7 @@ 1.13 fputs(hdr->header, out); 1.14 } 1.15 } else if (strncmp(fmt, "@msg_body", 9) == 0) { 1.16 - /* we may have to read the data at this point 1.17 - and remember if we did */ 1.18 + /* we may have to read the data at this point and remember if we did */ 1.19 gboolean flag = (msg->data_list == NULL); 1.20 if (flag) { 1.21 if (!spool_read_data(msg)) {