Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac84096
)
+ Fixed a comment that referred to isc_net_pton() instead of inet_pton().
author
Wayne Davison
<wayned@samba.org>
Fri, 10 Jan 2003 20:08:12 +0000
(20:08 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 10 Jan 2003 20:08:12 +0000
(20:08 +0000)
+ Only prototype inet_pton6() if INET6 is defined.
lib/inet_pton.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/inet_pton.c
b/lib/inet_pton.c
index
4034fe1
..
4a0be88
100644
(file)
--- a/
lib/inet_pton.c
+++ b/
lib/inet_pton.c
@@
-27,10
+27,12
@@
*/
static int inet_pton4(const char *src, unsigned char *dst);
+#ifdef INET6
static int inet_pton6(const char *src, unsigned char *dst);
+#endif
/* int
- * i
sc_
net_pton(af, src, dst)
+ * inet_pton(af, src, dst)
* convert from presentation format (which usually means ASCII printable)
* to network format (which is usually some kind of binary format).
* return: