projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35fd136
)
use size_t to keep strlen() results
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 23 Feb 2004 08:38:49 +0000
(08:38 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 23 Feb 2004 08:38:49 +0000
(08:38 +0000)
lib/hostip.c
patch
|
blob
|
history
diff --git
a/lib/hostip.c
b/lib/hostip.c
index
d02b307
..
166173e
100644
(file)
--- a/
lib/hostip.c
+++ b/
lib/hostip.c
@@
-810,7
+810,7
@@
static struct hostent* pack_hostent(char** buf, struct hostent* orig)
int i;
char *str;
-
in
t len;
+
size_
t len;
bufptr = *buf;
copy = (struct hostent*)bufptr;