From 87451ef325979e5cf6c5b25c5ec57f6bc5ad5571 Mon Sep 17 00:00:00 2001 From: ewt Date: Wed, 30 Dec 1998 23:02:27 +0000 Subject: [PATCH] fixed scare memory option CVS patchset: 2629 CVS date: 1998/12/30 23:02:27 --- lib/fprint.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/fprint.c b/lib/fprint.c index 7a6ff8a..fc3270e 100644 --- a/lib/fprint.c +++ b/lib/fprint.c @@ -53,9 +53,9 @@ static fingerPrint doLookup(char * fullName, int scareMemory, if (!stripCount) { chptr1 = fullName + cache->matchLength + 1; if (scareMemory) - fp.basename = strdup(chptr1); - else fp.basename = chptr1; + else + fp.basename = strdup(chptr1); fp.ino = cache->ino; fp.dev = cache->dev; return fp; @@ -96,9 +96,9 @@ static fingerPrint doLookup(char * fullName, int scareMemory, if (!stat(buf, &sb)) { chptr1 = fullName + (end - buf) + 1; if (scareMemory) - fp.basename = strdup(chptr1); - else fp.basename = chptr1; + else + fp.basename = strdup(chptr1); fp.ino = sb.st_ino; fp.dev = sb.st_dev; -- 2.7.4