mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:03:39 +03:00
atoi: remove atoi usage
This commit is contained in:
parent
cbe67a1b71
commit
5db0a412ff
12 changed files with 36 additions and 22 deletions
|
|
@ -226,7 +226,7 @@ static int smtp_endofresp(struct pingpong *pp, int *resp)
|
|||
return FALSE; /* Nothing for us. */
|
||||
|
||||
if((result = line[3] == ' '))
|
||||
*resp = atoi(line);
|
||||
*resp = strtol(line, NULL, 10);
|
||||
|
||||
line += 4;
|
||||
len -= 4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue