summaryrefslogtreecommitdiff
path: root/src/c
diff options
context:
space:
mode:
authorGravatar Ziv Scully <ziv@mit.edu>2015-10-31 23:35:42 -0400
committerGravatar Ziv Scully <ziv@mit.edu>2015-10-31 23:35:42 -0400
commitaec3d37bda5c0b7068e92e31bf903545f953adba (patch)
treed148f39d7c005f24cffdf90dffa055bac9ba7b86 /src/c
parent78acba6decb79af464805a1ad3d81de56ef16151 (diff)
parent0746eb28c54cb2ba778150e9fd8d0c399f7dcd14 (diff)
Merge.
Diffstat (limited to 'src/c')
-rw-r--r--src/c/urweb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c
index cc0eab06..ef7eb9bb 100644
--- a/src/c/urweb.c
+++ b/src/c/urweb.c
@@ -818,9 +818,6 @@ static void uw_try_reconnecting(uw_context ctx) {
ctx->db = NULL;
}
ctx->app->db_init(ctx);
-
- if (!ctx->db)
- uw_error(ctx, FATAL, "Error reopening database connection");
}
void uw_try_reconnecting_and_restarting(uw_context ctx) {