diff options
author | Brian Somers <brian@FreeBSD.org> | 2000-08-31 21:28:28 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2000-08-31 21:28:28 +0000 |
commit | a48f260a7ac2d329a0f627742a28c47536c4c009 (patch) | |
tree | 768d835e7d2b0bdfff4759afa1b5d29ef4dc5e4b /www/httptunnel/files/patch-ac | |
parent | I changed the name of a patch, but forgot to update it here. (diff) |
Fix some more diagnostics
Diffstat (limited to '')
-rw-r--r-- | www/httptunnel/files/patch-ac | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/www/httptunnel/files/patch-ac b/www/httptunnel/files/patch-ac new file mode 100644 index 000000000000..fdcde075a537 --- /dev/null +++ b/www/httptunnel/files/patch-ac @@ -0,0 +1,17 @@ +--- common.c.orig Thu Aug 31 22:24:49 2000 ++++ common.c Thu Aug 31 22:26:01 2000 +@@ -179,10 +179,10 @@ + memcpy(&address->sin_addr.s_addr, ent->h_addr, (unsigned)ent->h_length); + ip = ntohl (address->sin_addr.s_addr); + log_annoying ("set_address: host = %d.%d.%d.%d", +- ip >> 24, +- (ip >> 16) & 0xff, +- (ip >> 8) & 0xff, +- ip & 0xff); ++ ntohl(ip) >> 24, ++ (ntohl(ip) >> 16) & 0xff, ++ (ntohl(ip) >> 8) & 0xff, ++ ntohl(ip) & 0xff); + } + + return 0; |