From 431fa68b0fe140d8cea124d0bd56a672eb93dca8 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 17 Jul 2004 14:30:00 +0000 Subject: [PATCH] Updated debug logging --- lib/attach.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/attach.c b/lib/attach.c index 74887b10..4b82b827 100644 --- a/lib/attach.c +++ b/lib/attach.c @@ -175,8 +175,8 @@ int check_flo(faddr node, char *filename, char flavor) flofile = calloc(PATH_MAX, sizeof(char)); ticfile = calloc(PATH_MAX, sizeof(char)); -// sprintf(flofile, "%s", floname(&node, flavor)); - Syslog('p', "%s", flofile); + sprintf(flofile, "%s", floname(&node, flavor)); +// Syslog('p', "%s", flofile); if ((fp = fopen(flofile, "r+"))) { filepos = 0; while (fgets(buf, PATH_MAX +2, fp)) {