[gq-commit] gq/src errorchain.c,1.12,1.13
Status: Beta
Brought to you by:
sur5r
From: <sta...@us...> - 2003-10-04 09:54:37
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1:/tmp/cvs-serv2513 Modified Files: errorchain.c Log Message: * abort() not exit() for better debugging * do utf-8 decoding for error messages (may contain LDAP messages). Hopefully this is done correctly. Index: errorchain.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/errorchain.c,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** errorchain.c 2 Oct 2003 16:16:26 -0000 1.12 --- errorchain.c 4 Oct 2003 09:54:33 -0000 1.13 *************** *** 135,139 **** if(!chain) { fprintf(stderr, _("Oops! errorchain lookup error. Exiting...\n")); ! exit(1); } --- 135,139 ---- if(!chain) { fprintf(stderr, _("Oops! errorchain lookup error. Exiting...\n")); ! abort(); } *************** *** 177,181 **** else { fprintf(stderr, _("Oops! errorchain free error. Exiting...\n")); ! exit(1); } --- 177,181 ---- else { fprintf(stderr, _("Oops! errorchain free error. Exiting...\n")); ! abort(); } |