Fix erroneous comment.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 4 Jun 2007 19:15:08 +0000 (19:15 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 4 Jun 2007 19:15:08 +0000 (19:15 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1061 959494ce-11ee-0310-bf91-de5d638817bd

clients/gtk2/main.c

index 5aac1e4..a0f44f3 100644 (file)
@@ -1084,8 +1084,8 @@ void handleresps(void)
                dc_disconnect();
                dcdisconnected();
            } else {
-               tosbuf = 0x10; /* Minimum cost */
-               setsockopt(dcfd, IPPROTO_IP, IP_TOS, &tosbuf, sizeof(tosbuf));
+               tosbuf = 0x10; /* Minimum delay */
+               setsockopt(dcfd, SOL_IP, IP_TOS, &tosbuf, sizeof(tosbuf));
                updatesbar(_("Connected"));
                dc_loginasync(connectas, 1, loginconv, logincallback, NULL);
            }