diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-11-09 21:57:15 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-11-09 21:57:15 +0000 |
commit | 63e95dfd487fcf373edff8df36d906b50f5c19c7 (patch) | |
tree | 9ca70ee8fe05947750b7d1e926038d5cf6c4f9ae /uid.c | |
parent | 30041d963fb87fee22d9e13dad96e9699d33d4e3 (diff) | |
download | fetchmail-63e95dfd487fcf373edff8df36d906b50f5c19c7.tar.gz fetchmail-63e95dfd487fcf373edff8df36d906b50f5c19c7.tar.bz2 fetchmail-63e95dfd487fcf373edff8df36d906b50f5c19c7.zip |
Correct generation of X-Fetchmail-Warning header.
svn path=/trunk/; revision=526
Diffstat (limited to 'uid.c')
-rw-r--r-- | uid.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -99,7 +99,7 @@ void initialize_saved_lists(struct query *hostlist, char *idfile) } } -void save_uid(struct idlist **idl, int num, char *str) +struct idlist *save_uid(struct idlist **idl, int num, char *str) /* save a number/UID pair on the given UID list */ { struct idlist *new; @@ -109,6 +109,8 @@ void save_uid(struct idlist **idl, int num, char *str) new->id = xstrdup(str); new->next = *idl; *idl = new; + + return(new); } void free_uid_list(struct idlist **idl) |