mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
simplified expression
This commit is contained in:
parent
c8c47768c7
commit
566f7b5e58
@ -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…
Reference in New Issue
Block a user