diff options
Diffstat (limited to 'src/gns/gnunet-gns-proxy.c')
-rw-r--r-- | src/gns/gnunet-gns-proxy.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c index 9f664e4dd..a502e0b65 100644 --- a/src/gns/gnunet-gns-proxy.c +++ b/src/gns/gnunet-gns-proxy.c | |||
@@ -1229,8 +1229,10 @@ curl_check_hdr (void *buffer, | |||
1229 | /* Ignore transfer encoding, set automatically by MHD if required */ | 1229 | /* Ignore transfer encoding, set automatically by MHD if required */ |
1230 | goto cleanup; | 1230 | goto cleanup; |
1231 | } | 1231 | } |
1232 | if (0 == strcasecmp (MHD_HTTP_HEADER_LOCATION, | 1232 | if ((0 == strcasecmp (MHD_HTTP_HEADER_LOCATION, |
1233 | hdr_type)) | 1233 | hdr_type)) || |
1234 | (0 == strcasecmp (MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN, | ||
1235 | hdr_type))) | ||
1234 | { | 1236 | { |
1235 | char *leho_host; | 1237 | char *leho_host; |
1236 | 1238 | ||