Bugfix in fnet-dc.c to enable resuming files >2 GB.
[doldaconnect.git] / daemon / ui.c
index dd3d931..a7717ea 100644 (file)
@@ -1559,6 +1559,7 @@ static void freeuidata(struct uidata *data)
        actives = data->next;
     data->sk->readcb = NULL;
     data->sk->errcb = NULL;
+    closesock(data->sk);
     putsock(data->sk);
     while((qcmd = unlinkqcmd(data)) != NULL)
        freequeuecmd(qcmd);