# HG changeset patch # User markus schnalke # Date 1329832927 -3600 # Node ID c7cc3c03193ce88ee5ddee0276f3f550757b4c0a # Parent b033fd9b96e4f2aa9e04d988e2037a6dc6dcc27f Minor refactoring. diff -r b033fd9b96e4 -r c7cc3c03193c src/alias.c --- a/src/alias.c Tue Feb 21 14:44:00 2012 +0100 +++ b/src/alias.c Tue Feb 21 15:02:07 2012 +0100 @@ -174,7 +174,7 @@ DEBUG(6) debugf("alias: processing '%s'\n", val); - if (val[0] == '\\') { + if (*val == '\\') { DEBUG(5) debugf("alias: '%s' is marked as final, " "hence completed\n", val); alias_addr = create_address_qualified(val+1, TRUE, @@ -186,7 +186,7 @@ continue; } - if (val[0] == '|') { + if (*val == '|') { DEBUG(5) debugf("alias: '%s' is a pipe address\n", val); alias_addr = create_address_pipe(val); @@ -244,9 +244,8 @@ GList *rcpt_node_next = NULL; address *addr = NULL; - for (rcpt_node=g_list_copy(rcpt_list); - rcpt_node; - rcpt_node=g_list_next(rcpt_node)) { + for (rcpt_node=g_list_copy(rcpt_list); rcpt_node; + rcpt_node=g_list_next(rcpt_node)) { addr = (address *) (rcpt_node->data); if (addr_is_local(addr)) {