Remove debug output from fgets_unlocked(3)
This commit is contained in:
parent
65410b63f8
commit
7e3c2f095a
@ -1,4 +1,3 @@
|
||||
#include <sys/debug.h>
|
||||
#include <stdio.h>
|
||||
|
||||
char *fgets_unlocked(char *buf, int len, FILE *fp) {
|
||||
@ -24,11 +23,7 @@ char *fgets_unlocked(char *buf, int len, FILE *fp) {
|
||||
}
|
||||
|
||||
if (off) {
|
||||
ygg_debug_trace("fgets -> %d\n", off);
|
||||
buf[off] = 0;
|
||||
for (size_t i = 0; i < off; ++i) {
|
||||
ygg_debug_trace("buf[%d] = 0x%x\n", i, buf[i]);
|
||||
}
|
||||
return buf;
|
||||
} else {
|
||||
return NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user