aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-30 18:47:02 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-30 18:47:02 +0000
commit207601ccb5c5c4af8ebefb43ac58b5e95c7fe01e (patch)
treef1ad047e01f5a72fd8e009664ba2e86099126c0e /fetchmail.c
parentb1f8a6777f792bdabfd33ead66c77607eb10bfb1 (diff)
downloadfetchmail-207601ccb5c5c4af8ebefb43ac58b5e95c7fe01e.tar.gz
fetchmail-207601ccb5c5c4af8ebefb43ac58b5e95c7fe01e.tar.bz2
fetchmail-207601ccb5c5c4af8ebefb43ac58b5e95c7fe01e.zip
Make the no-config-file case work correctly again.
svn path=/trunk/; revision=587
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 59d9cf6e..6e9d1134 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -460,7 +460,7 @@ static int load_params(int argc, char **argv, int optind)
goto foundit;
ctl = hostalloc(&cmd_opts);
- strcpy(ctl->servernames->id, argv[optind]);
+ save_str(&ctl->servernames, -1, argv[optind]);
foundit:
ctl->active = TRUE;