Diff between 45d151ec8a0f096170e83b26c0e91d85afaf2d82 and d30dc38b042542ddb29ac821300e95dc9e631b61

Changed Files

File Additions Deletions Status
tools/isotest.c +1 -1 modified

Full Patch

diff --git a/tools/isotest.c b/tools/isotest.c
index 7e875fa..810d15d 100644
--- a/tools/isotest.c
+++ b/tools/isotest.c
@@ -922,7 +922,7 @@ static void send_mode(char *filename, char *peer, int i, bool repeat)
 		if (!err)
 			fd = open_file(altername);
 
-		if (fd <= 0)
+		if (fd < 0)
 			fd = open_file(filename);
 	}