Mercurial > masqmail
changeset 410:cff967b2f51e
Minor comment rework.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 29 Feb 2012 12:05:47 +0100 (2012-02-29) |
parents | 6874a4f265c1 |
children | 9b93c0a3bd8c |
files | src/parse.c |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/parse.c Wed Feb 29 11:03:46 2012 +0100 +++ b/src/parse.c Wed Feb 29 12:05:47 2012 +0100 @@ -395,8 +395,10 @@ address *addr = g_malloc(sizeof(address)); addr->address = g_strdup(""); addr->local_part = g_strdup(""); - /* 'NULL' address (failure notice), - "" makes sure it will not be qualified with a hostname */ + /* + ** 'NULL' address: failure notice + ** "": will *not* be qualified with a hostname + */ addr->domain = g_strdup(""); return addr; } @@ -433,8 +435,10 @@ if (dom_beg != NULL) { addr->domain = g_strndup(dom_beg, dom_end - dom_beg); } else if (addr->local_part[0] == '\0') { - /* 'NULL' address (failure notice), - "" makes sure it will not be qualified with a hostname */ + /* + ** 'NULL' address: failure notice + ** "": will *not* be qualified with a hostname + */ addr->domain = g_strdup(""); } else { addr->domain = NULL;