diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-11-28 18:18:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-11-28 18:18:00 +0000 |
commit | 5f4ca3c2d6db469677d06db286b16b9f3b84123c (patch) | |
tree | 8cdf1de1d808e77052ebfedfb81c68c4a469b079 /rcfile_y.y | |
parent | 09006c25d399ff2080c0e8660d0d95ff3cd25455 (diff) | |
download | fetchmail-5f4ca3c2d6db469677d06db286b16b9f3b84123c.tar.gz fetchmail-5f4ca3c2d6db469677d06db286b16b9f3b84123c.tar.bz2 fetchmail-5f4ca3c2d6db469677d06db286b16b9f3b84123c.zip |
Change name of string-saver functions.
svn path=/trunk/; revision=584
Diffstat (limited to 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -79,21 +79,21 @@ statement : SET BATCHLIMIT MAP NUMBER {batchlimit = $4;} ; define_server : POLL STRING {current.servernames = (struct idlist *)NULL; - save_uid(¤t.servernames, -1, $2); + save_str(¤t.servernames, -1, $2); current.skip = FALSE;} | SKIP STRING {current.servernames = (struct idlist *)NULL; - save_uid(¤t.servernames, -1, $2); + save_str(¤t.servernames, -1, $2); current.skip = TRUE;} | DEFAULTS {current.servernames = (struct idlist *)NULL; - save_uid(¤t.servernames, -1,"defaults");} + save_str(¤t.servernames, -1,"defaults");} ; serverspecs : /* EMPTY */ | serverspecs serv_option ; -alias_list : STRING {save_uid(¤t.servernames, -1, $1);} - | alias_list STRING {save_uid(¤t.servernames, -1, $2);} +alias_list : STRING {save_str(¤t.servernames, -1, $1);} + | alias_list STRING {save_str(¤t.servernames, -1, $2);} ; serv_option : AKA alias_list @@ -149,9 +149,9 @@ mapping_list : mapping ; mapping : STRING - {save_id_pair(¤t.localnames, $1, NULL);} + {save_str_pair(¤t.localnames, $1, NULL);} | STRING MAP STRING - {save_id_pair(¤t.localnames, $1, $3);} + {save_str_pair(¤t.localnames, $1, $3);} ; user_option : TO localnames HERE @@ -336,7 +336,7 @@ static void prc_register(void) void optmerge(struct query *h2, struct query *h1) /* merge two options records; empty fields in h2 are filled in from h1 */ { - append_uid_list(&h2->localnames, &h1->localnames); + append_str_list(&h2->localnames, &h1->localnames); #define STR_MERGE(fld, len) if (*(h2->fld) == '\0') strcpy(h2->fld, h1->fld) STR_MERGE(remotename, USERNAMELEN); |