Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
02e4973a
Commit
02e4973a
authored
Sep 05, 2017
by
IKEDA Soji
Browse files
Issue #50: smtpc build warnings due to malicious typo.
parent
8c2b5ddd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/smtpc/smtpc.c
View file @
02e4973a
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment