X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgtk2%2Fmain.c;h=5b286f3627fa88ae0d9793b1bd22d02dc4dd9afc;hb=3305f52e7c71403335c26537affcd76c63e06a0c;hp=a0f44f365e8c0bc3e85a99849bb909d71659e287;hpb=ae1213f75d1c5b03791405b580ff217471bc696e;p=doldaconnect.git diff --git a/clients/gtk2/main.c b/clients/gtk2/main.c index a0f44f3..5b286f3 100644 --- a/clients/gtk2/main.c +++ b/clients/gtk2/main.c @@ -1085,7 +1085,7 @@ void handleresps(void) dcdisconnected(); } else { tosbuf = 0x10; /* Minimum delay */ - 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); }