From 85c435c57b151d4949288572ba964f5c98f67989 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 10 Jan 2010 22:30:32 +0000 Subject: [PATCH] fixing comment --- src/util/client.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/util/client.c b/src/util/client.c index 92c79f824..bd360dd6f 100644 --- a/src/util/client.c +++ b/src/util/client.c @@ -562,7 +562,10 @@ write_shutdown (void *cls, size_t size, void *buf) /** * Request that the service should shutdown. - * Afterwards, the connection should be disconnected. + * Afterwards, the connection will automatically be + * disconnected. Hence the "sock" shoud not + * be used by the caller after this call + * (calling this function frees "sock" after a while). * * @param sock the socket connected to the service */ -- 2.25.1