mirror of https://github.com/ericonr/sndio.git
fix missing brace mistake, from jsg@
This commit is contained in:
parent
04d8fe25dd
commit
33ad1a504d
|
@ -127,9 +127,10 @@ _aucat_wmsg(struct aucat *hdl, int *eof)
|
|||
ssize_t n;
|
||||
unsigned char *data;
|
||||
|
||||
if (hdl->wstate == WSTATE_IDLE)
|
||||
if (hdl->wstate == WSTATE_IDLE) {
|
||||
hdl->wstate = WSTATE_MSG;
|
||||
hdl->wtodo = sizeof(struct amsg);
|
||||
}
|
||||
if (hdl->wstate != WSTATE_MSG) {
|
||||
DPRINTF("_aucat_wmsg: bad state\n");
|
||||
abort();
|
||||
|
|
Loading…
Reference in New Issue