--- parser3/src/targets/cgi/parser3.C 2001/08/24 09:25:17 1.94 +++ parser3/src/targets/cgi/parser3.C 2001/08/24 09:26:11 1.95 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) */ -static const char *RCSId="$Id: parser3.C,v 1.94 2001/08/24 09:25:17 parser Exp $"; +static const char *RCSId="$Id: parser3.C,v 1.95 2001/08/24 09:26:11 parser Exp $"; #include "pa_config_includes.h" @@ -328,11 +328,11 @@ int main(int argc, char *argv[]) { if(!header_only) SAPI::send_body(pool, body, content_length); - if(!cgi) - SAPI::send_body(pool, "\n", 1); - // unsuccessful finish return 1; } PEND_CATCH + + if(!cgi) + SAPI::send_body(pool, "\n", 1); }