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