1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

DOM: Change sgml-parser program to have sane exit code for incomplete input

This commit is contained in:
Jonas Fonseca 2006-02-01 10:51:24 +01:00 committed by Jonas Fonseca
parent c7843058fc
commit 6cd5e387e5

View File

@ -433,5 +433,5 @@ main(int argc, char *argv[])
check_memory_leaks(); check_memory_leaks();
#endif #endif
return code; return code != DOM_CODE_OK ? 1 : 0;
} }