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:
dcf5e52
)
fix_hostname() now (void)s the conn argument to prevent warnings on non-idn
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 5 May 2004 07:08:31 +0000
(07:08 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 5 May 2004 07:08:31 +0000
(07:08 +0000)
enabled builds
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
fdc4378
..
215a1bb
100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-2004,6
+2004,8
@@
static void fix_hostname(struct connectdata *conn, struct hostname *host)
host->name = host->encalloc;
}
}
+#else
+ (void)conn; /* never used */
#endif
}