EVENT Client: parametrize when to close the fd on detach or not
[citadel.git] / citadel / modules / smtp / serv_smtpeventclient.c
index c7de74fac3e9da7fffd65b10251b42c36a9411af..56deb4f5034f1785952ea0e6cf6ca4b6830bfdb9 100644 (file)
@@ -233,7 +233,7 @@ eNextState FailOneAttempt(AsyncIO *IO)
         * - connection timeout
         * - dns lookup failed
         */
-       StopClientWatchers(IO);
+       StopClientWatchers(IO, 1);
 
        if (Msg->pCurrRelay != NULL)
                Msg->pCurrRelay = Msg->pCurrRelay->Next;