1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Rename goto label ‘leave’ to ‘cleanup’

The name ‘leave’ can not be used on some Windows CE platforms, so rename it.
This commit is contained in:
Patrick Gansterer 2014-02-26 21:56:59 +01:00
parent 86267d94ad
commit 3e86053e61

View file

@ -246,7 +246,7 @@ http_postbody:
if (!wsi->u.http.post_buffer) {
lwsl_err("Unable to allocate post buffer\n");
n = -1;
goto leave;
goto cleanup;
}
}
@ -271,7 +271,7 @@ http_postbody:
wsi->user_space, uri_ptr, uri_len);
}
leave:
cleanup:
/* now drop the header info we kept a pointer to */
if (ah)
free(ah);