From: Mike D. Lowis Date: Thu, 19 Mar 2015 15:19:49 +0000 (-0400) Subject: Added the ability for the user to provide their own error handler X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=45d9c8ff9c5ec603eede86bd17dc09a3470583c9;p=projs%2Fopts.git Added the ability for the user to provide their own error handler --- diff --git a/tests/test_opts.c b/tests/test_opts.c index e8cb461..97adcbe 100755 --- a/tests/test_opts.c +++ b/tests/test_opts.c @@ -43,7 +43,7 @@ void exit(int code) static void User_Error_Cb(const char* msg, char* opt_name) { (void)msg; (void)opt_name; - exit(1); + exit(2); } void test_setup(void) {}