common/strm-transport: uninitialized variable fix.
authorKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 6 Nov 2014 09:23:50 +0000 (11:23 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 6 Nov 2014 13:19:24 +0000 (15:19 +0200)
src/common/stream-transport.c

index 80c984b..af844e0 100644 (file)
@@ -515,6 +515,8 @@ static void strm_recv_cb(mrp_io_watch_t *w, int fd, mrp_io_event_t events,
                     error = t->recv_data((mrp_transport_t *)t, msg, 0, NULL, 0);
                     mrp_json_unref(msg);
                 }
+                else
+                    error = EILSEQ;
             }
 
             if (error)