diff options
-rw-r--r-- | fetchmail.c | 4 | ||||
-rw-r--r-- | servport.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/fetchmail.c b/fetchmail.c index 6d1b34e1..f1f40b4f 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -1182,14 +1182,14 @@ static int load_params(int argc, char **argv, int optind) if (port < 0) { (void) fprintf(stderr, - GT_("%s configuration invalid, port number cannot be negative\n"), + GT_("fetchmail: %s configuration invalid, specify positive port number for service or port\n"), ctl->server.pollname); exit(PS_SYNTAX); } if (ctl->server.protocol == P_RPOP && port >= 1024) { (void) fprintf(stderr, - GT_("%s configuration invalid, RPOP requires a privileged port\n"), + GT_("fetchmail: %s configuration invalid, RPOP requires a privileged port\n"), ctl->server.pollname); exit(PS_SYNTAX); } @@ -70,7 +70,8 @@ int servport(const char *service) { return port; err: - report(stderr, GT_("Cannot resolve service %s to port. Please specify the service as decimal port number.\n"), service); + report(stderr, GT_("Cannot resolve service %s to port number.\n"), service); + report(stderr, GT_("Please specify the service as decimal port number.\n")); return -1; } /* end of servport.c */ |