From: Fabian Keil Date: Thu, 25 Jan 2007 13:36:59 +0000 (+0000) Subject: Add csp->error_message for failure reasons X-Git-Tag: v_3_0_7~369 X-Git-Url: http://www.privoxy.org/gitweb/templates.html?a=commitdiff_plain;h=4be661777ed7724dfe04c3669e8ac0a32c82b09c;p=privoxy.git Add csp->error_message for failure reasons that should be embedded into the CGI pages. --- diff --git a/project.h b/project.h index b021c62d..32312fe4 100644 --- a/project.h +++ b/project.h @@ -1,7 +1,7 @@ #ifndef PROJECT_H_INCLUDED #define PROJECT_H_INCLUDED /** Version string. */ -#define PROJECT_H_VERSION "$Id: project.h,v 1.86 2006/12/31 17:56:37 fabiankeil Exp $" +#define PROJECT_H_VERSION "$Id: project.h,v 1.87 2007/01/01 19:36:37 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/project.h,v $ @@ -10,7 +10,7 @@ * project. Does not define any variables or functions * (though it does declare some macros). * - * Copyright : Written by and Copyright (C) 2001 - 2004 the SourceForge + * Copyright : Written by and Copyright (C) 2001 - 2007 the SourceForge * Privoxy team. http://www.privoxy.org/ * * Based on the Internet Junkbuster originally written @@ -37,6 +37,10 @@ * * Revisions : * $Log: project.h,v $ + * Revision 1.87 2007/01/01 19:36:37 fabiankeil + * Integrate a modified version of Wil Mahan's + * zlib patch (PR #895531). + * * Revision 1.86 2006/12/31 17:56:37 fabiankeil * Added config option accept-intercepted-requests * and disabled it by default. @@ -1222,6 +1226,12 @@ struct client_state #endif /* def FEATURE_TRUST */ + /** + * Failure reason to embedded in the CGI error page, + * or NULL. Currently only used for socks errors. + */ + char *error_message; + /** Next thread in linked list. Only read or modify from the main thread! */ struct client_state *next; };