return more meaningful error code in parse_data()

This commit is contained in:
Nikos Mavrogiannopoulos
2015-04-27 10:57:22 +02:00
parent a034626add
commit efea3fa1e2
+1 -1
View File
@@ -2000,7 +2000,7 @@ static int parse_data(struct worker_st *ws, uint8_t *buf, size_t buf_size,
(unsigned)head, (unsigned)buf_size);
}
return head;
return 0;
}
static int parse_cstp_data(struct worker_st *ws,