summaryrefslogtreecommitdiff
path: root/saedit/config.c
diff options
context:
space:
mode:
authorVasily_Makarov <danilka.pro@gmail.com>2012-01-30 20:01:13 +0400
committerVasily_Makarov <danilka.pro@gmail.com>2012-01-30 20:01:13 +0400
commit52bc7fcc1a89355d51fe55ab160f9bcc2842fa3e (patch)
tree0ebd0d9607086151bc96ca697a08d7bd113c7fe9 /saedit/config.c
parent413481aae53a25e49f591b611e806ce443ad1832 (diff)
downloadevol-tools-52bc7fcc1a89355d51fe55ab160f9bcc2842fa3e.tar.gz
evol-tools-52bc7fcc1a89355d51fe55ab160f9bcc2842fa3e.tar.bz2
evol-tools-52bc7fcc1a89355d51fe55ab160f9bcc2842fa3e.tar.xz
evol-tools-52bc7fcc1a89355d51fe55ab160f9bcc2842fa3e.zip
Porting SAE to GTK+ 3.2
Diffstat (limited to 'saedit/config.c')
-rw-r--r--saedit/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/saedit/config.c b/saedit/config.c
index f28ab54..51d554d 100644
--- a/saedit/config.c
+++ b/saedit/config.c
@@ -60,7 +60,7 @@ void config_keys_save(Keys *keys) {
mkdir(KEYS_CONFIG_DIR, S_IRWXU);
int fd = g_creat(KEYS_CONFIG_FILE, S_IREAD | S_IWRITE);
gchar *buf = g_key_file_to_data(key_file, NULL, NULL);
- write(fd, buf, strlen(buf), NULL);
+ write(fd, buf, strlen(buf));
close(fd);
g_key_file_free(key_file);