From ba4557fc9d049b27fce357301c72433139f2a44a Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Sun, 2 Dec 2001 16:26:08 +0000 Subject: [w3m-dev 02605] From: Kiyokazu SUTO --- etc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'etc.c') diff --git a/etc.c b/etc.c index a828970..81e7516 100644 --- a/etc.c +++ b/etc.c @@ -1,4 +1,4 @@ -/* $Id: etc.c,v 1.8 2001/11/24 02:01:26 ukai Exp $ */ +/* $Id: etc.c,v 1.9 2001/12/02 16:26:08 ukai Exp $ */ #include "fm.h" #include #include "myctype.h" @@ -640,7 +640,7 @@ lastFileName(char *path) p++; } - return allocStr(q, 0); + return allocStr(q, -1); } #ifndef HAVE_BCOPY @@ -704,7 +704,7 @@ mybasename(char *s) p++; else p = s; - return allocStr(p, 0); + return allocStr(p, -1); } char * @@ -1518,7 +1518,7 @@ FQDN(char *host) if (!(entry = gethostbyname(host))) return NULL; - return allocStr(entry->h_name, 0); + return allocStr(entry->h_name, -1); #else /* INET6 */ for (af = ai_family_order_table[DNS_order];; af++) { int error; -- cgit v1.2.3