X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgtk2%2Fmain.c;h=5b286f3627fa88ae0d9793b1bd22d02dc4dd9afc;hb=3305f52e7c71403335c26537affcd76c63e06a0c;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); }