From: Daniel Stenberg Date: Thu, 19 Aug 2004 09:37:22 +0000 (+0000) Subject: simplified expression X-Git-Tag: curl-7_12_2~183 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=566f7b5e5856f73eb970834a1635e501a3af5eb4;p=thirdparty%2Fcurl.git simplified expression --- diff --git a/lib/inet_pton.c b/lib/inet_pton.c index 24820fe253..c79b46335b 100644 --- a/lib/inet_pton.c +++ b/lib/inet_pton.c @@ -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;