diff options
author | Josh Rickmar <jrick@devio.us> | 2012-06-21 11:07:37 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@devio.us> | 2012-06-21 17:01:55 -0400 |
commit | 8ebb6a66cefef3370b0948f2c2ee55166913d95a (patch) | |
tree | 221381ce67bd4d032c3c984d84058a31e8d72b18 | |
parent | 7c50f59bdf5afaa6872dd6c283e9988c729508f5 (diff) | |
download | xombrero-8ebb6a66cefef3370b0948f2c2ee55166913d95a.tar.gz |
Allocate the soup session before attempting to change its settings
when parsing the config file.
-rw-r--r-- | xombrero.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xombrero.c b/xombrero.c index 3f8333e..712ae52 100644 --- a/xombrero.c +++ b/xombrero.c @@ -8215,6 +8215,9 @@ main(int argc, char **argv) expand_tilde(ssl_ca_file, sizeof ssl_ca_file, XT_DS_SSL_CA_FILE); + /* soup session */ + session = webkit_get_default_session(); + /* read config file */ if (strlen(conf) == 0) snprintf(conf, sizeof conf, "%s" PS ".%s", @@ -8343,7 +8346,6 @@ main(int argc, char **argv) } /* cookies */ - session = webkit_get_default_session(); setup_cookies(); /* guess_search regex */ |