aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Pakulat <andreas@froglogic.com>2013-11-04 12:51:50 +0100
committerAndy Green <andy.green@linaro.org>2013-11-24 14:28:48 +0800
commit944a78dc58fc30730de9635a9fb865d474487845 (patch)
tree32974eadc8b61b3fe00101b5bbc26ae902da34c9 /lib
parente01cb9a49d53603d9ee99dca8740f4a09e2483aa (diff)
downloadlibwebsockets-944a78dc58fc30730de9635a9fb865d474487845.tar.gz
protect the label with an ifdef
The only part that actually goes to this label is inside such an ifdef, so building without extension support makes gcc bail out since an unused label is considered an error in this project.
Diffstat (limited to 'lib')
-rw-r--r--lib/output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/output.c b/lib/output.c
index 5a661b05..a375dea2 100644
--- a/lib/output.c
+++ b/lib/output.c
@@ -159,7 +159,9 @@ int lws_issue_raw(struct libwebsocket *wsi, unsigned char *buf, size_t len)
}
#endif
+#ifndef LWS_NO_EXTENSIONS
handle_truncated_send:
+#endif
/*
* already handling a truncated send?