diff options
author | npmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56> | 2007-11-21 00:11:49 +0000 |
---|---|---|
committer | npmccallum <npmccallum@c587cffe-e639-0410-9787-d7902ae8ed56> | 2007-11-21 00:11:49 +0000 |
commit | c0a069ead1b9ed908f193666b0266af18dce7107 (patch) | |
tree | 6fec804ae20754bce6cf95e15fec0ab857b320e7 | |
parent | 634dbdfa170a91d19e3a7431d92bbfa6de263161 (diff) | |
download | libproxy-c0a069ead1b9ed908f193666b0266af18dce7107.tar.gz |
actually store the config file
git-svn-id: http://libproxy.googlecode.com/svn/trunk@60 c587cffe-e639-0410-9787-d7902ae8ed56
-rw-r--r-- | src/plugins/file.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/file.c b/src/plugins/file.c index 4d0d6c3..e89e253 100644 --- a/src/plugins/file.c +++ b/src/plugins/file.c @@ -32,6 +32,7 @@ pxConfig *get_config_from_file(pxProxyFactory *self, char *misc, char *filename) { if (cf) px_config_file_free(cf); cf = px_config_file_new(filename); + px_proxy_factory_misc_set(self, misc, cf); } if (!cf) return NULL; @@ -78,4 +79,6 @@ void on_proxy_factory_destantiate(pxProxyFactory *self) px_proxy_factory_config_del(self, "file_user"); px_config_file_free(px_proxy_factory_misc_get(self, "file_system")); px_config_file_free(px_proxy_factory_misc_get(self, "file_user")); + px_proxy_factory_misc_set(self, "file_system", NULL); + px_proxy_factory_misc_set(self, "file_user", NULL); } |