diff options
Diffstat (limited to 'src/gmrequest.c')
-rw-r--r-- | src/gmrequest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gmrequest.c b/src/gmrequest.c index 9cdd627e..f4d770ab 100644 --- a/src/gmrequest.c +++ b/src/gmrequest.c | |||
@@ -494,6 +494,10 @@ void deinit_GmRequest(iGmRequest *d) { | |||
494 | delete_Mutex(d->mtx); | 494 | delete_Mutex(d->mtx); |
495 | } | 495 | } |
496 | 496 | ||
497 | void enableFilters_GmRequest(iGmRequest *d, iBool enable) { | ||
498 | d->isFilterEnabled = enable; | ||
499 | } | ||
500 | |||
497 | void setUrl_GmRequest(iGmRequest *d, const iString *url) { | 501 | void setUrl_GmRequest(iGmRequest *d, const iString *url) { |
498 | set_String(&d->url, urlFragmentStripped_String(url)); | 502 | set_String(&d->url, urlFragmentStripped_String(url)); |
499 | /* Encode hostname to Punycode here because we want to submit the Punycode domain name | 503 | /* Encode hostname to Punycode here because we want to submit the Punycode domain name |