gen_listenerdemo: Fix uninitialized memory being passed to do_packet() from my_rhandler()
CID: 1170502
This commit is contained in:
parent
3441525838
commit
6b30dd8bf9
|
@ -64,7 +64,7 @@ static void my_rhandler(connection_t * cptr)
|
|||
|
||||
if (!my_read(cptr, buf))
|
||||
connection_close(cptr);
|
||||
|
||||
else
|
||||
do_packet(buf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue