Skip to content

Commit

Permalink
fix crash on close
Browse files Browse the repository at this point in the history
  • Loading branch information
pangweiwei committed Oct 18, 2019
1 parent f50ce6c commit ef7901f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ namespace NS_SLUA {
#define STEPSIZE 8192
int sendraw(p_buffer buf, const char* data, size_t count, size_t * sent) {
p_io io = buf->io;
if (!io) return IO_CLOSED;
p_timeout tm = buf->tm;
size_t total = 0;
int err = IO_DONE;
Expand Down

0 comments on commit ef7901f

Please sign in to comment.