Skip to content

Commit fcf2356

Browse files
committed
fix
1 parent 57f5867 commit fcf2356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pcompat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ static void detect_proxy(){
12681268
debug(D_NOTICE, "WinHttpOpen failed");
12691269
goto manual;
12701270
}
1271-
memset(aopt, 0, sizeof(aopt));
1271+
memset(&aopt, 0, sizeof(aopt));
12721272
aopt.dwFlags=WINHTTP_AUTOPROXY_AUTO_DETECT;
12731273
aopt.dwAutoDetectFlags=WINHTTP_AUTO_DETECT_TYPE_DHCP|WINHTTP_AUTO_DETECT_TYPE_DNS_A;
12741274
if (ieconf.lpszAutoConfigUrl){

0 commit comments

Comments
 (0)