summaryrefslogtreecommitdiffstats
path: root/src/userpref.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2011-10-05 22:02:34 +0200
committerGravatar Martin Szulecki2012-03-19 01:45:04 +0100
commit10ad0c14e888291228c2f0c464e32e9c706c824e (patch)
treebd4a3844adf59d2ed99c5aa694ee6acbec2add24 /src/userpref.c
parent1b9d972de6625d97dec8516def6c3eaac9a87cb3 (diff)
downloadlibimobiledevice-10ad0c14e888291228c2f0c464e32e9c706c824e.tar.gz
libimobiledevice-10ad0c14e888291228c2f0c464e32e9c706c824e.tar.bz2
Do not write config every time (still using old format)
Diffstat (limited to 'src/userpref.c')
-rw-r--r--src/userpref.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/userpref.c b/src/userpref.c
index 409eb27..8d2ebf2 100644
--- a/src/userpref.c
+++ b/src/userpref.c
@@ -275,10 +275,12 @@ static int config_read(const char *cfgfile, plist_t *dict)
275 } 275 }
276 } 276 }
277 fclose(fd); 277 fclose(fd);
278#if 0
278 if (plist) { 279 if (plist) {
279 // write new format config 280 // write new format config
280 config_write(cfgfile, plist); 281 config_write(cfgfile, plist);
281 } 282 }
283#endif
282 } 284 }
283 } 285 }
284 free(contents); 286 free(contents);