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

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.
This commit is contained in:
Andreas Pakulat 2013-11-04 12:51:50 +01:00
parent dae94d8adc
commit 787b84e35c

View file

@ -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?