summaryrefslogtreecommitdiffstats
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
parent1b9d972de6625d97dec8516def6c3eaac9a87cb3 (diff)
downloadlibimobiledevice-10ad0c14e888291228c2f0c464e32e9c706c824e.tar.gz
libimobiledevice-10ad0c14e888291228c2f0c464e32e9c706c824e.tar.bz2
Do not write config every time (still using old format)
-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)
}
}
fclose(fd);
+#if 0
if (plist) {
// write new format config
config_write(cfgfile, plist);
}
+#endif
}
}
free(contents);