diff options
author | Josh Rickmar <jrick@devio.us> | 2012-07-10 17:14:06 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@devio.us> | 2012-07-10 17:14:06 -0400 |
commit | d86b221bdcacac7d70289048d273980cacbe0a64 (patch) | |
tree | 44f1a8059b8a004ba12959be63b6b4ffecc5660c | |
parent | 50d37b03c671c7f28597291ca764015c4797689a (diff) | |
download | xombrero-d86b221bdcacac7d70289048d273980cacbe0a64.tar.gz |
Support building again with ancient libsoup versions.
-rw-r--r-- | xombrero.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xombrero.c b/xombrero.c index 3aeb1b7..291c4f8 100644 --- a/xombrero.c +++ b/xombrero.c @@ -4927,7 +4927,7 @@ webview_rrs_cb(WebKitWebView *wv, WebKitWebFrame *wf, WebKitWebResource *res, uri = soup_message_get_uri(msg); if (!uri) return; - if (strcmp(soup_uri_get_scheme(uri), SOUP_URI_SCHEME_HTTP) == 0) { + if (strcmp(uri->scheme, SOUP_URI_SCHEME_HTTP) == 0) { if (strict_transport_check(uri->host)) { DNPRINTF(XT_D_NAV, "webview_rrs_cb: force https for %s\n", uri->host); |