summaryrefslogtreecommitdiff
path: root/src/c
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
commit83f7a985d980d9387cf09cdbbbf3f9d8d4f531ae (patch)
treeea62c16107e98f0c641ac2cf54e5c3edfeef3624 /src/c
parentffaafd5f0646224e94e0e54a25080a078a1f51c5 (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/c')
-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;