aboutsummaryrefslogtreecommitdiffstats
path: root/libglouglou/examples
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2012-12-15 06:38:24 +0100
committerLaurent Ghigonis <laurent@p1sec.com>2012-12-15 06:38:24 +0100
commit0e3e2c67ff7eaff48b0614b14655c71b3e786618 (patch)
tree5f51d839088eca09460a8f6575ec70ec9991d8d1 /libglouglou/examples
parentfix network byte order of IP parsed from cmdline (diff)
downloadglouglou-0e3e2c67ff7eaff48b0614b14655c71b3e786618.tar.xz
glouglou-0e3e2c67ff7eaff48b0614b14655c71b3e786618.zip
revert previous commit, my brain was deeply flawed
Diffstat (limited to 'libglouglou/examples')
-rw-r--r--libglouglou/examples/dnsreverse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libglouglou/examples/dnsreverse.c b/libglouglou/examples/dnsreverse.c
index 3b6e5fd..33b0f75 100644
--- a/libglouglou/examples/dnsreverse.c
+++ b/libglouglou/examples/dnsreverse.c
@@ -24,7 +24,6 @@ main(int argc, char *argv[])
exit(1);
}
inet_aton(argv[1], &ip);
- ip.s_addr = ntohl(ip.s_addr);
bzero(&tv, sizeof(struct timeval));
tv.tv_sec = 5;