Forgot the check for reverselookup. - geomyidae - A small C-based gopherd.
HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit f030400cc6670be1087473c91b7d5f8b8868d843
DIR parent a0495a999191b84a00f2586b7089c99947d0de93
HTML Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 27 Feb 2011 12:55:02 +0100
Forgot the check for reverselookup.
Diffstat:
M Makefile | 2 +-
M ind.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -1,5 +1,5 @@
PROGRAM = geomyidae
-VERSION = 0.16
+VERSION = 0.17
PREFIX ?= /usr
BINDIR ?= $(PREFIX)/bin
DIR diff --git a/ind.c b/ind.c
@@ -305,7 +305,7 @@ reverselookup(char *host)
}
if(rethost == NULL)
- rethost = strdup(host);
+ rethost = gstrdup(host);
return rethost;
}