Mercurial > masqmail-0.2
comparison src/deliver.c @ 17:6c59dedd06be
fixed delivery with empty or non-existent alias file
Thanks to Marcos Dione for the hint where to look.
(Closes Debian bug #417842)
author | meillo@marmaro.de |
---|---|
date | Thu, 06 Nov 2008 09:41:35 +0100 |
parents | f671821d8222 |
children | 7354c2e0eb31 |
comparison
equal
deleted
inserted
replaced
16:163aa299bedb | 17:6c59dedd06be |
---|---|
679 GList *msgout_node; | 679 GList *msgout_node; |
680 GList *alias_table = NULL; | 680 GList *alias_table = NULL; |
681 gboolean ok = TRUE; | 681 gboolean ok = TRUE; |
682 | 682 |
683 if (conf.alias_file) { | 683 if (conf.alias_file) { |
684 if (!(alias_table = table_read(conf.alias_file, ':'))) | 684 alias_table = table_read(conf.alias_file, ':'); |
685 return FALSE; | |
686 } | 685 } |
687 | 686 |
688 /* sort messages for different deliveries */ | 687 /* sort messages for different deliveries */ |
689 foreach(msgout_list, msgout_node) { | 688 foreach(msgout_list, msgout_node) { |
690 msg_out *msgout = (msg_out *) (msgout_node->data); | 689 msg_out *msgout = (msg_out *) (msgout_node->data); |