aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fetchmail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c
index bcc98f56..09dbb271 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -696,8 +696,8 @@ static int load_params(int argc, char **argv, int optind)
* we'll do that with the optmerge call later on.
*/
ctl = hostalloc((struct query *)NULL);
-
- ctl->server.pollname = xstrdup(argv[optind]);
+ ctl->server.via =
+ ctl->server.pollname = xstrdup(argv[optind]);
foundit:
ctl->active = TRUE;