changeset 2486:de5dff2a7dcf

Fix #486: Build error https://github.com/BestImageViewer/geeqie/issues/486 Bug solution from Guillaume Castagnino
author Colin Clark <colin.clark@cclark.uk>
date Thu, 25 May 2017 21:17:08 +0100
parents 0e9ff39bcdd3
children d280894dbf80
files src/misc.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/misc.c	Thu May 25 12:53:54 2017 +0100
+++ b/src/misc.c	Thu May 25 21:17:08 2017 +0100
@@ -147,7 +147,11 @@
 			}
 		else
 			{
-			fgets(buf, BUFSIZE, fp);
+			while (fgets(buf, BUFSIZE, fp))
+				{
+				DEBUG_1("Output: %s", buf);
+				}
+
 			message = g_strconcat(buf, NULL);
 
 			if(pclose(fp))