Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for "Basic" authentication to our proxy, based on a
[rsync/rsync.git]
/
lib
/
inet_ntop.c
diff --git
a/lib/inet_ntop.c
b/lib/inet_ntop.c
index
9451d23
..
7866999
100644
(file)
--- a/
lib/inet_ntop.c
+++ b/
lib/inet_ntop.c
@@
-15,18
+15,8
@@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] =
- "$Id$";
-#endif /* LIBC_SCCS and not lint */
-#include <config.h>
-
-#include <errno.h>
-#include <stdio.h>
-#include <string.h>
-
-#include <isc/net.h>
+#include "rsync.h"
#define NS_INT16SZ 2
#define NS_IN6ADDRSZ 16
#define NS_INT16SZ 2
#define NS_IN6ADDRSZ 16
@@
-53,7
+43,7
@@
static const char *inet_ntop6(const unsigned char *src, char *dst,
* Paul Vixie, 1996.
*/
const char *
* Paul Vixie, 1996.
*/
const char *
-i
sc_
net_ntop(int af, const void *src, char *dst, size_t size)
+inet_ntop(int af, const void *src, char *dst, size_t size)
{
switch (af) {
case AF_INET:
{
switch (af) {
case AF_INET: