From: fredrik Date: Mon, 4 Jun 2007 19:15:08 +0000 (+0000) Subject: Fix erroneous comment. X-Git-Tag: 0.4~17 X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=ae1213f75d1c5b03791405b580ff217471bc696e Fix erroneous comment. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1061 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/clients/gtk2/main.c b/clients/gtk2/main.c index 5aac1e4..a0f44f3 100644 --- a/clients/gtk2/main.c +++ b/clients/gtk2/main.c @@ -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); }