From: oes Date: Fri, 7 Sep 2001 16:43:50 +0000 (+0000) Subject: Fixed example X-Git-Tag: v_2_9_9~145 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=ce08e4536beff2c518870ddb903b616fb7513100 Fixed example --- diff --git a/doc/pcrs.3 b/doc/pcrs.3 index 8fe90f96..732d5376 100644 --- a/doc/pcrs.3 +++ b/doc/pcrs.3 @@ -422,14 +422,15 @@ int main(int Argc, char **Argv) { printf("Exec error: %s (%d).\\n", pcrs_strerror(err), err); } - - /* Will tolerate NULL result */ - printf("Result: *%s*\\n", result); + else + { + printf("Result: *%s*\\n", result); + free(result); + } pcrs_free_job(job); - if (result) free(result); - return(err < 0); + } .fi