]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commitdiff
* tcp.c: Fix bug #24227, wrong error message in tcp_bind.
authorjifl <jifl>
Tue, 30 Sep 2008 13:50:39 +0000 (13:50 +0000)
committerjifl <jifl>
Tue, 30 Sep 2008 13:50:39 +0000 (13:50 +0000)
CHANGELOG
src/core/tcp.c

index 987301bbbe99039ee25c7b54551a5991f9fa9282..9aa18a90372a675fd880511f929a7b1b95767a9e 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -47,6 +47,9 @@ HISTORY
 
   ++ Bugfixes:
 
+  2008-09-30 Jonathan Larmour
+  * tcp.c: Fix bug #24227, wrong error message in tcp_bind.
+
   2008-08-26 Simon Goldschmidt
   * inet.h, ip_addr.h: fixed bug #24132: Cross-dependency between ip_addr.h and
     inet.h -> moved declaration of struct in_addr from ip_addr.h to inet.h
index 0c2c68f68ea9dd3f08f0abff4ef02b4f139b30dc..9d4f215cd47fb137ace67f20df38c8f921fb4134 100644 (file)
@@ -258,7 +258,7 @@ tcp_bind(struct tcp_pcb *pcb, struct ip_addr *ipaddr, u16_t port)
 {
   struct tcp_pcb *cpcb;
 
-  LWIP_ERROR("tcp_connect: can only bind in state CLOSED", pcb->state == CLOSED, return ERR_ISCONN);
+  LWIP_ERROR("tcp_bind: can only bind in state CLOSED", pcb->state == CLOSED, return ERR_ISCONN);
 
   if (port == 0) {
     port = tcp_new_port();