projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
web: replace <pre> by <p>
[paraslash.git]
/
stat.c
diff --git
a/stat.c
b/stat.c
index
532f9cd
..
9def507
100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-269,7
+269,7
@@
unsigned for_each_line(char *buf, int n, void (*line_handler)(char *))
char *start = buf, *end;
int i, num_lines = 0;
char *start = buf, *end;
int i, num_lines = 0;
-
PARA_INFO_LOG("buf: %s", buf);
+
//
PARA_INFO_LOG("buf: %s", buf);
while (start < buf + n) {
char *next_null;
char *next_cr;
while (start < buf + n) {
char *next_null;
char *next_cr;
@@
-287,7
+287,7
@@
unsigned for_each_line(char *buf, int n, void (*line_handler)(char *))
num_lines++;
if (line_handler) {
*end = '\0';
num_lines++;
if (line_handler) {
*end = '\0';
-
PARA_INFO_LOG("calling line handler: %s\n", start);
+
//
PARA_INFO_LOG("calling line handler: %s\n", start);
line_handler(start);
start = ++end;
} else
line_handler(start);
start = ++end;
} else