diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-08-19 09:37:22 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-08-19 09:37:22 +0000 |
commit | 566f7b5e5856f73eb970834a1635e501a3af5eb4 (patch) | |
tree | b3369154489730f3c9022edf9dc49f727e3b1837 | |
parent | c8c47768c76aac020adc2a7ebf5e45e3ea95abd9 (diff) |
simplified expression
-rw-r--r-- | lib/inet_pton.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/inet_pton.c b/lib/inet_pton.c index 24820fe25..c79b46335 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; |