From: Bert Vermeulen Date: Wed, 27 Aug 2014 22:19:36 +0000 (+0200) Subject: Add error string for SR_OK_CONTINUE. X-Git-Tag: libsigrok-0.4.0~1089 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=aad21bd8666e7937b3d8b83b1fc0c57865dfc1ec;p=libsigrok.git Add error string for SR_OK_CONTINUE. --- diff --git a/src/error.c b/src/error.c index a8a46503..9956089f 100644 --- a/src/error.c +++ b/src/error.c @@ -58,6 +58,8 @@ SR_API const char *sr_strerror(int error_code) */ switch (error_code) { + case SR_OK_CONTINUE: + return "not enough data to decide error status yet"; case SR_OK: return "no error"; case SR_ERR: