]> sigrok.org Git - libsigrok.git/commitdiff
Add error string for SR_OK_CONTINUE.
authorBert Vermeulen <redacted>
Wed, 27 Aug 2014 22:19:36 +0000 (00:19 +0200)
committerBert Vermeulen <redacted>
Wed, 27 Aug 2014 22:19:36 +0000 (00:19 +0200)
src/error.c

index a8a46503e4754d4a09257791ecf4aa4e15596206..9956089fe7baeb6668266a62c10cc9ad19751cf0 100644 (file)
@@ -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: