summaryrefslogtreecommitdiff
path: root/source4/web_server/http.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-05-29 04:10:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:11 -0500
commit7756b990f38495bf98e335b56bdc510659c34bdb (patch)
tree530834296a60d589d0be9b3ae22c57bf3e1fdd48 /source4/web_server/http.c
parent14ade23914b328fcb5924488c2416dfa7748e4ab (diff)
downloadsamba-7756b990f38495bf98e335b56bdc510659c34bdb.tar.gz
samba-7756b990f38495bf98e335b56bdc510659c34bdb.tar.bz2
samba-7756b990f38495bf98e335b56bdc510659c34bdb.zip
r7066: Rename http_exception to ejs_exception.
(This used to be commit f2e59d3adfd7813c3c2090350f8ff2a99a5533e9)
Diffstat (limited to 'source4/web_server/http.c')
-rw-r--r--source4/web_server/http.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/web_server/http.c b/source4/web_server/http.c
index a072970597..df53eee4e9 100644
--- a/source4/web_server/http.c
+++ b/source4/web_server/http.c
@@ -461,17 +461,17 @@ static void http_setup_arrays(struct esp_state *esp)
report a internal server error via http
*/
#include <setjmp.h>
-static jmp_buf http_exception_buf;
+static jmp_buf ejs_exception_buf;
static const char *exception_reason;
-void http_exception(const char *reason)
+void ejs_exception(const char *reason)
{
exception_reason = reason;
DEBUG(0,("%s", reason));
- longjmp(http_exception_buf, -1);
+ longjmp(ejs_exception_buf, -1);
}
#else
-void http_exception(const char *reason)
+void ejs_exception(const char *reason)
{
DEBUG(0,("%s", reason));
smb_panic(reason);
@@ -497,7 +497,7 @@ static void esp_request(struct esp_state *esp)
}
#if HAVE_SETJMP_H
- if (setjmp(http_exception_buf) != 0) {
+ if (setjmp(ejs_exception_buf) != 0) {
http_error(web, 500, exception_reason);
return;
}