X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=miniexpect.h;h=9a374b78ce119d7a671214e353a871982b2d1e91;hb=cdd5f93d5c8b51d8e80e2ccf45f1f4a90c79f6a6;hp=31b7269a3fe14cd3aa26f258ce7a9dfe287f40b0;hpb=f5d365ec44b9e04c03c7e97e94080bcd134f319a;p=miniexpect.git diff --git a/miniexpect.h b/miniexpect.h index 31b7269..9a374b7 100644 --- a/miniexpect.h +++ b/miniexpect.h @@ -67,9 +67,9 @@ typedef struct mexp_regexp mexp_regexp; enum mexp_status { MEXP_EOF = 0, - MEXP_TIMEOUT = -1, - MEXP_ERROR = -2, - MEXP_PCRE_ERROR = -3, + MEXP_ERROR = -1, + MEXP_PCRE_ERROR = -2, + MEXP_TIMEOUT = -3, }; extern int mexp_expect (mexp_h *h, const mexp_regexp *regexps,