diff options
author | Wayne Davison <wayned@samba.org> | 2003-01-10 20:08:12 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2003-01-10 20:08:12 +0000 |
commit | cc234d944afb06ccbcc6ff78207519c1e7940450 (patch) | |
tree | 6676a31141c44b9df9be21aae6b8f30118dea6a4 /lib | |
parent | ac84096d1f735ea4d7a663dd37cda5a23f86ab44 (diff) | |
download | android_external_rsync-cc234d944afb06ccbcc6ff78207519c1e7940450.tar.gz android_external_rsync-cc234d944afb06ccbcc6ff78207519c1e7940450.tar.bz2 android_external_rsync-cc234d944afb06ccbcc6ff78207519c1e7940450.zip |
+ Fixed a comment that referred to isc_net_pton() instead of inet_pton().
+ Only prototype inet_pton6() if INET6 is defined.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/inet_pton.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/inet_pton.c b/lib/inet_pton.c index 4034fe1a..4a0be885 100644 --- 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 - * isc_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: |