projects
/
project
/
uhttpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ucode: ignore exit exceptions
[project/uhttpd.git]
/
ucode.c
diff --git
a/ucode.c
b/ucode.c
index 69da3da67a7e48378bc95addc935d17a413e97b3..e76f441ea622778504bc098a353fc76e08343ab2 100644
(file)
--- a/
ucode.c
+++ b/
ucode.c
@@
-195,6
+195,9
@@
uh_ucode_exception(uc_vm_t *vm, uc_exception_t *ex)
{
uc_value_t *ctx;
+ if (ex->type == EXCEPTION_EXIT)
+ return;
+
printf("Status: 500 Internal Server Error\r\n\r\n"
"Exception while executing ucode program %s:\n",
current_prefix->handler);