~vcs-imports/libsoup/master

Viewing all changes in revision 2433.

  • Committer: Cosimo Cecchi
  • Date: 2017-10-03 20:54:10 UTC
  • Revision ID: git-v1:2f2681fb51a3a02e3df287ead3f2829ae1e876a3
SoupCache: fix setting default value for cache dir

The documentation mentions that a value of NULL can be used to let
SoupCache use its default, but code currently tries to call
g_file_test() on NULL in that case, which will cause a critical warning
to be generated.

Refactor how the cache dir default value is initialized to avoid that
issue.

https://bugzilla.gnome.org/show_bug.cgi?id=788452

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: