diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-03-07 17:14:44 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-03-07 17:14:44 +0000 |
commit | de67861145546849b56d6eb784a7381c2ff9475a (patch) | |
tree | 2948fee56ac7ce0a32194acec86049d31b569535 | |
parent | 133a1630f9b76ea28ef59595c45f681aeb34319a (diff) | |
download | fetchmail-de67861145546849b56d6eb784a7381c2ff9475a.tar.gz fetchmail-de67861145546849b56d6eb784a7381c2ff9475a.tar.bz2 fetchmail-de67861145546849b56d6eb784a7381c2ff9475a.zip |
Prevent append from infinite recursion.
svn path=/trunk/; revision=921
-rw-r--r-- | uid.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -222,7 +222,7 @@ void append_str_list(struct idlist **idl, struct idlist **nidl) *idl = *nidl; else if ((*idl)->next == (struct idlist *)NULL) (*idl)->next = *nidl; - else + else if ((*idl)->next != *nidl) append_str_list(&(*idl)->next, nidl); } |