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:
parent
dae94d8adc
commit
787b84e35c
1 changed files with 2 additions and 0 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Reference in a new issue