Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
12a0565a
Commit
12a0565a
authored
May 30, 1993
by
Jim Blandy
Browse files
* movemail.c [MAIL_USE_POP] (main): Don't use non-portable
string-handling functions.
parent
879c0d9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
lib-src/movemail.c
lib-src/movemail.c
+5
-2
No files found.
lib-src/movemail.c
View file @
12a0565a
...
...
@@ -140,11 +140,14 @@ main (argc, argv)
}
#ifdef MAIL_USE_POP
if
(
!
b
cmp
(
inname
,
"po:"
,
3
))
if
(
!
strn
cmp
(
inname
,
"po:"
,
3
))
{
int
status
;
char
*
user
;
user
=
(
char
*
)
rindex
(
inname
,
':'
)
+
1
;
for
(
user
=
&
inname
[
strlen
(
inname
)
-
1
];
user
>=
inname
;
user
--
)
if
(
*
user
==
':'
)
break
;
status
=
popmail
(
user
,
outname
);
exit
(
status
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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