Mercurial > 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 wrap: on
line diff
--- a/src/fail_msg.c Wed Oct 29 21:21:26 2008 +0100 +++ b/src/fail_msg.c Thu Nov 06 09:18:38 2008 +0100 @@ -29,7 +29,7 @@ address *ret_path = NULL; /* do not bounce bounces, send to postmaster instead */ - if (msg->return_path->local_part[0] == 0) { + if (msg->return_path->local_part[0] == '\0') { GList *node; ret_path = create_address_qualified("postmaster", TRUE, conf.host_name); @@ -79,8 +79,7 @@ fputs(hdr->header, out); } } else if (strncmp(fmt, "@msg_body", 9) == 0) { - /* we may have to read the data at this point - and remember if we did */ + /* we may have to read the data at this point and remember if we did */ gboolean flag = (msg->data_list == NULL); if (flag) { if (!spool_read_data(msg)) {