X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=common-src%2Fbsdudp-security.c;h=d42432080971afd323d53172302daced685e1f3b;hb=fb2bd066c2f8b34addafe48d62550e3033a59431;hp=2ae9e4edb1cb26ed063c82f9a7e1182601640bec;hpb=a6127998ee6dcab6bb034f6ca985b07804a86f9a;p=debian%2Famanda diff --git a/common-src/bsdudp-security.c b/common-src/bsdudp-security.c index 2ae9e4e..d424320 100644 --- a/common-src/bsdudp-security.c +++ b/common-src/bsdudp-security.c @@ -261,7 +261,7 @@ bsdudp_connect( handle=alloc(15); g_snprintf(handle,14,"000-%08x", newhandle++); if (udp_inithandle(bh->udp, bh, canonname, - (struct sockaddr_storage *)res_addr->ai_addr, port, + (sockaddr_union *)res_addr->ai_addr, port, handle, sequence) < 0) { (*fn)(arg, &bh->sech, S_ERROR); amfree(bh->hostname);