From 35778c0b9ba6ab224386e7570e8d8d01357c8c41 Mon Sep 17 00:00:00 2001 From: lapupe Date: Sun, 18 Sep 2016 01:06:23 +0200 Subject: [PATCH] rien --- lib/communication.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/communication.c b/lib/communication.c index a55e6dd..3c1bbd6 100644 --- a/lib/communication.c +++ b/lib/communication.c @@ -18,10 +18,11 @@ int file_write (const char *path, const char *buf, size_t msize) perror ("file_write"); return ER_FILE_OPEN; } - + // TODO debug + // printf("file_write: opened file %s\n", path); + int ret = 0; int ret2 = 0; - printf ("%ld bytes to write\n", msize); ret = write (fd, buf, msize); if (ret <= 0) { fprintf (stderr, "err: written %s\n", path);