aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;