X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgtk2%2Fmain.c;h=a0f44f365e8c0bc3e85a99849bb909d71659e287;hb=ae1213f75d1c5b03791405b580ff217471bc696e;hp=5aac1e40dec5f3a2a22b41c18903ecc5c0eeac08;hpb=92b569477b62bf15175b03730767d0097b4bc2d8;p=doldaconnect.git 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); }