Commit 02e4973a authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Issue #50: smtpc build warnings due to malicious typo.

parent 8c2b5ddd
......@@ -226,7 +226,7 @@ static int parse_options(int *argcptr, char ***argvptr)
return -1;
}
if (*p == ':' && ++p != '\0')
if (*p == ':' && *(++p) != '\0')
options.servname = p;
else if (*p != '\0') {
fprintf(stderr, "Malformed port \"%s\"\n", p);
......@@ -269,7 +269,7 @@ static int parse_options(int *argcptr, char ***argvptr)
return -1;
}
if (*p == ':' && ++p != '\0')
if (*p == ':' && *(++p) != '\0')
options.servname = p;
else if (*p != '\0') {
fprintf(stderr, "Malformed port \"%s\"\n", p);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment