diff options
-rw-r--r-- | fetchmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c index 3c331e5a..24c38141 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -1226,7 +1226,7 @@ static int load_params(int argc, char **argv, int optind) { char *cp; - if (!(cp = strrchr(idp->id, '/')) || + if (!(cp = strrchr((char *)idp->id, '/')) || ++cp, (0 == strcmp(cp, SMTP_PORT)) || servport(cp) == SMTP_PORT_NUM) { |