projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92792b4
)
Rename leave to cleanup
author
Patrick Gansterer
<paroga@paroga.com>
Wed, 26 Feb 2014 20:56:59 +0000
(21:56 +0100)
committer
Andy Green
<andy.green@linaro.org>
Thu, 27 Feb 2014 13:16:00 +0000
(21:16 +0800)
The name ‘leave’ can not be used on some Windows CE platforms, so rename it.
lib/handshake.c
patch
|
blob
|
history
diff --git
a/lib/handshake.c
b/lib/handshake.c
index
f45ee53
..
4be448a
100644
(file)
--- a/
lib/handshake.c
+++ b/
lib/handshake.c
@@
-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);