C is not VHDL

This commit is contained in:
Paul Gardner-Stephen 2018-11-14 16:02:29 +10:30
parent 7a222e3869
commit 7c4971a4f8

View File

@ -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");