Remove debug messages.

This commit is contained in:
Themaister 2011-06-26 17:06:05 +02:00
parent 363d8ca5b4
commit 346a9f2b4e

1
file.c
View File

@ -97,7 +97,6 @@ bool read_file_string(const char *path, char **buf)
while (ptr && !feof(file))
{
size_t bufsize = (size_t)(((ptrdiff_t)*buf + (ptrdiff_t)len) - (ptrdiff_t)ptr);
fprintf(stderr, "bufsize: %u\n", (unsigned)bufsize);
fgets(ptr, bufsize, file);
ptr = strchr(ptr, '\0');