summaryrefslogtreecommitdiff
path: root/gweb/gweb.c
diff options
context:
space:
mode:
Diffstat (limited to 'gweb/gweb.c')
-rw-r--r--gweb/gweb.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gweb/gweb.c b/gweb/gweb.c
index 27ed6347..4c2f95c1 100644
--- a/gweb/gweb.c
+++ b/gweb/gweb.c
@@ -434,7 +434,6 @@ gboolean g_web_get_close_connection(GWeb *web)
static inline void call_result_func(struct web_session *session, guint16 status)
{
- gboolean result;
if (session->result_func == NULL)
return;
@@ -442,10 +441,8 @@ static inline void call_result_func(struct web_session *session, guint16 status)
if (status != 0)
session->result.status = status;
- result = session->result_func(&session->result, session->user_data);
+ session->result_func(&session->result, session->user_data);
- debug(session->web, "[result function] %s",
- result == TRUE ? "continue" : "stop");
}
static inline void call_route_func(struct web_session *session)