]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commitdiff
Fixed bug #26069: Corrected documentation: if tcp_connect fails, pcb->err is called...
authorgoldsimon <goldsimon>
Tue, 21 Apr 2009 19:15:16 +0000 (19:15 +0000)
committergoldsimon <goldsimon>
Tue, 21 Apr 2009 19:15:16 +0000 (19:15 +0000)
CHANGELOG
doc/rawapi.txt

index c5cfbbd36b8e29f7433583c7148fbb3cf01a3dad..797b97f5f02164580da068747540434447a587cc 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -88,6 +88,10 @@ HISTORY
 
   ++ Bugfixes:
 
+  2009-04-19 Simon Goldschmidt
+  * rawapi.txt: Fixed bug #26069: Corrected documentation: if tcp_connect fails,
+    pcb->err is called, not pcb->connected (with an error code).
+
   2009-04-19 Simon Goldschmidt
   * tcp_out.c: Fixed bug #26236: "TCP options (timestamp) don't work with
     no-copy-tcpwrite": deallocate option data, only concat segments with same flags
index 3543bde1aef0331b6ee47cb596621e818e5cbff7..a1c95591fffb7c46f73e9b68360fe47e99d61a56 100644 (file)
@@ -128,8 +128,9 @@ incoming connections or be explicitly connected to another host.
   function specified as the fourth argument (the "connected" argument)
   when the connection is established. If the connection could not be
   properly established, either because the other host refused the
-  connection or because the other host didn't answer, the "connected"
-  function will be called with an the "err" argument set accordingly.
+  connection or because the other host didn't answer, the "err"
+  callback function of this pcb (registered with tcp_err, see below)
+  will be called.
 
   The tcp_connect() function can return ERR_MEM if no memory is
   available for enqueueing the SYN segment. If the SYN indeed was