From e7f32240917cc912eb6e3e36780ecb3c4a06f264 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Wed, 4 Jun 2014 20:54:02 +0200 Subject: [PATCH] again bug #26069: Documentation of tcp_connect() incorrectly describes handling of errors --- src/core/tcp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/tcp.c b/src/core/tcp.c index cdd08aef..f89409c0 100644 --- a/src/core/tcp.c +++ b/src/core/tcp.c @@ -718,7 +718,8 @@ again: * @param pcb the tcp_pcb used to establish the connection * @param ipaddr the remote ip address to connect to * @param port the remote tcp port to connect to - * @param connected callback function to call when connected (or on error) + * @param connected callback function to call when connected (on error, + the err calback will be called) * @return ERR_VAL if invalid arguments are given * ERR_OK if connect request has been sent * other err_t values if connect request couldn't be sent