libubus: do not abort recv_retry before completing a message
authorFelix Fietkau <nbd@nbd.name>
Tue, 16 Apr 2019 08:34:45 +0000 (10:34 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 16 Apr 2019 08:34:46 +0000 (10:34 +0200)
commit4daab27d004fa604095923d5471a69283a84b034
treecd0a3cc967b5cd9e43706e11be14d28545b1c302
parent221ce7e7ff1bd1a0c9995fa9d32f58e865f7207f
libubus: do not abort recv_retry before completing a message

If the header is read but not the remainder of the message, the stream
will be out of sync and parsing of future messages won't work

Signed-off-by: Felix Fietkau <nbd@nbd.name>
libubus-io.c