From: fredrik Date: Mon, 4 Jun 2007 19:15:06 +0000 (+0000) Subject: Fixed conformedness of IP_TOS. X-Git-Tag: 0.4~18 X-Git-Url: http://dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=92b569477b62bf15175b03730767d0097b4bc2d8 Fixed conformedness of IP_TOS. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1060 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/clients/gtk2/main.c b/clients/gtk2/main.c index aebab1d..5aac1e4 100644 --- a/clients/gtk2/main.c +++ b/clients/gtk2/main.c @@ -1085,7 +1085,7 @@ void handleresps(void) dcdisconnected(); } else { tosbuf = 0x10; /* Minimum cost */ - setsockopt(dcfd, SOL_IP, IP_TOS, &tosbuf, sizeof(tosbuf)); + setsockopt(dcfd, IPPROTO_IP, IP_TOS, &tosbuf, sizeof(tosbuf)); updatesbar(_("Connected")); dc_loginasync(connectas, 1, loginconv, logincallback, NULL); }