mirror of
https://github.com/curl/curl.git
synced 2026-08-04 13:46:26 +03:00
simplified expression
This commit is contained in:
parent
c8c47768c7
commit
566f7b5e58
1 changed files with 2 additions and 1 deletions
|
|
@ -108,7 +108,8 @@ inet_pton4(const char *src, unsigned char *dst)
|
|||
|
||||
saw_digit = 0;
|
||||
octets = 0;
|
||||
*(tp = tmp) = 0;
|
||||
tp = tmp;
|
||||
*tp = 0;
|
||||
while ((ch = *src++) != '\0') {
|
||||
const char *pch;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue