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 331e5508..22f5481f 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -231,7 +231,7 @@ char **argv;
char prompt[BUFSIZ];
(void) sprintf(prompt, "Enter password for %s@%s: ",
- hostp->remotename, servername);
+ hostp->remotename, hostp->servername);
(void) strncpy(hostp->password,
(char *)getpassword(prompt),PASSWORDLEN-1);
}