Browse Source

fixed bug #25695: Segmentation fault in do_writemore()

STABLE-2_1_x
goldsimon 17 years ago
parent
commit
9d5bf57dd9
  1. 3
      CHANGELOG
  2. 2
      src/api/api_msg.c

3
CHANGELOG

@ -83,6 +83,9 @@ HISTORY
++ Bugfixes:
2009-04-18 Simon Goldschmidt
* api_msg.c: fixed bug #25695: Segmentation fault in do_writemore()
2009-04-15 Simon Goldschmidt
* sockets.c: tried to fix bug #23559: lwip_recvfrom problem with tcp

2
src/api/api_msg.c

@ -980,6 +980,8 @@ do_writemore(struct netconn *conn)
write_finished = 1;
conn->write_msg = NULL;
conn->write_offset = 0;
/* API_EVENT might call tcp_tmr, so reset conn->state now */
conn->state = NETCONN_NONE;
}
err = tcp_output_nagle(conn->pcb.tcp);
conn->err = err;

Loading…
Cancel
Save