From 9ba0beb413d8b443376c36c1701a0dbce1e8d566 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 17 May 2018 14:02:42 +0000
Subject: [PATCH] Fixed resize of network for low resolution network like 128x128

---
 src/utils.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/utils.c b/src/utils.c
index 1553ff7..8b1dcf5 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -208,19 +208,19 @@
 {
     perror(s);
     assert(0);
-    exit(1);
+    exit(EXIT_FAILURE);
 }
 
 void malloc_error()
 {
     fprintf(stderr, "Malloc error\n");
-    exit(1);
+    exit(EXIT_FAILURE);
 }
 
 void file_error(char *s)
 {
     fprintf(stderr, "Couldn't open file: %s\n", s);
-    exit(1);
+    exit(EXIT_FAILURE);
 }
 
 list *split_str(char *s, char delim)

--
Gitblit v1.10.0