From 7c4971a4f88b2f176d23d71f0dd6476778de72ce Mon Sep 17 00:00:00 2001 From: Paul Gardner-Stephen Date: Wed, 14 Nov 2018 16:02:29 +1030 Subject: [PATCH] C is not VHDL --- meshmb_restful.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meshmb_restful.c b/meshmb_restful.c index ca19681e..cde162e7 100644 --- a/meshmb_restful.c +++ b/meshmb_restful.c @@ -159,9 +159,9 @@ static int send_content_end(struct http_request *hr) }else{ if ( !session ) http_request_simple_response(&r->http, 500, "No session"); - elsif (send_result==-1) + else if (send_result==-1) http_request_simple_response(&r->http, 500, "meshmb_send() failed"); - elsif (send_result==-1) + else if (send_result==-1) http_request_simple_response(&r->http, 500, "meshmb_flush() failed"); else http_request_simple_response(&r->http, 500, "Seemingly impossible error");