RQER_PARSE is returned when read log has different format with the current backend's.
In current, log format is well converted though the backend is changed.
However, to debug easily, this code is remained.
Change-Id: Ie0055932065054129d0976a31c74cfb1ffec0d08
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
goto next;
else if (ret == RQER_EAGAIN)
break;
- else if (ret == RQER_PARSE
- || ret == RQER_EPIPE) // EPIPE is not an error: it signals the cyclic buffer having made a full turn and overwritten previous data
+ else if (ret == RQER_PARSE) {
+ printf("Wrong formatted message is written. \n");
+ continue;
+ }
+ /* EPIPE is not an error: it signals the cyclic buffer
+ * having made a full turn and overwritten previous data */
+ else if(ret == RQER_EPIPE)
continue;
enqueue(&pdev->queue, entry);
goto next;
else if (ret == RQER_EAGAIN)
break;
- else if(ret == RQER_PARSE)
- {
+ else if(ret == RQER_PARSE) {
printf("Wrong formatted message is written.\n");
continue;
}
- // EPIPE is not an error: it signals the cyclic buffer having made a full turn and overwritten previous data
+ /* EPIPE is not an error: it signals the cyclic buffer having
+ * made a full turn and overwritten previous data */
else if(ret == RQER_EPIPE)
continue;