X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgtk2%2Fmain.c;h=5b286f3627fa88ae0d9793b1bd22d02dc4dd9afc;hb=5dee314c9cfa99e9211d6ace429fe5a89a51dfe3;hp=aebab1d8d35704884e44cc456ed3a5884ffb3fc4;hpb=581ace464b2ff30003e2b5761588676b01622ee7;p=doldaconnect.git diff --git a/clients/gtk2/main.c b/clients/gtk2/main.c index aebab1d..5b286f3 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, SOL_IP, IP_TOS, &tosbuf, sizeof(tosbuf)); + tosbuf = 0x10; /* Minimum delay */ + setsockopt(dcfd, IPPROTO_IP, IP_TOS, &tosbuf, sizeof(tosbuf)); updatesbar(_("Connected")); dc_loginasync(connectas, 1, loginconv, logincallback, NULL); }