Forgot the check for reverselookup. - geomyidae - A small C-based gopherd.
DIR Log
DIR Files
DIR Refs
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:
Makefile | 2 +-
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;
}