Updated debug logging
This commit is contained in:
parent
c29520ca87
commit
431fa68b0f
@ -175,8 +175,8 @@ int check_flo(faddr node, char *filename, char flavor)
|
|||||||
flofile = calloc(PATH_MAX, sizeof(char));
|
flofile = calloc(PATH_MAX, sizeof(char));
|
||||||
ticfile = calloc(PATH_MAX, sizeof(char));
|
ticfile = calloc(PATH_MAX, sizeof(char));
|
||||||
|
|
||||||
// sprintf(flofile, "%s", floname(&node, flavor));
|
sprintf(flofile, "%s", floname(&node, flavor));
|
||||||
Syslog('p', "%s", flofile);
|
// Syslog('p', "%s", flofile);
|
||||||
if ((fp = fopen(flofile, "r+"))) {
|
if ((fp = fopen(flofile, "r+"))) {
|
||||||
filepos = 0;
|
filepos = 0;
|
||||||
while (fgets(buf, PATH_MAX +2, fp)) {
|
while (fgets(buf, PATH_MAX +2, fp)) {
|
||||||
|
Reference in New Issue
Block a user