mirror of https://github.com/ericonr/sndio.git
don't print 0xdeadbeef in the WIDLE state
This commit is contained in:
parent
c70f456e5c
commit
cc6dd11c37
|
@ -1664,8 +1664,11 @@ sock_write(struct sock *f)
|
||||||
if (debug_level >= 4) {
|
if (debug_level >= 4) {
|
||||||
sock_dbg(f);
|
sock_dbg(f);
|
||||||
dbg_puts(": writing ");
|
dbg_puts(": writing ");
|
||||||
dbg_putu(f->wtodo);
|
if (f->wstate != SOCK_WIDLE) {
|
||||||
dbg_puts(" todo\n");
|
dbg_putu(f->wtodo);
|
||||||
|
dbg_puts(" todo\n");
|
||||||
|
} else
|
||||||
|
dbg_puts("\n");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
switch (f->wstate) {
|
switch (f->wstate) {
|
||||||
|
|
Loading…
Reference in New Issue