aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
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 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);
}