summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Julian Squires <julian@cipht.net>2015-07-13 14:34:30 -0400
committerGravatar Julian Squires <julian@cipht.net>2015-07-13 14:34:30 -0400
commitf698960a72cc0c1669084530a749b33c295f371f (patch)
treeea62c16107e98f0c641ac2cf54e5c3edfeef3624 /src
parent31044921b25e830707fb00ba57fd4ea6cf50c422 (diff)
Allow returnBlob and redirect in static protocol
Both of these functions end up returning RETURN_INDIRECTLY, which is assumed to be an error by static.c's main. Treat it as success instead.
Diffstat (limited to 'src')
-rw-r--r--src/c/static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/static.c b/src/c/static.c
index c8fd5bc7..7f63d393 100644
--- a/src/c/static.c
+++ b/src/c/static.c
@@ -37,7 +37,7 @@ int main(int argc, char *argv[]) {
while (1) {
fk = uw_begin(ctx, argv[1]);
- if (fk == SUCCESS) {
+ if (fk == SUCCESS || fk == RETURN_INDIRECTLY) {
uw_print(ctx, 1);
puts("");
return 0;