diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-22 14:09:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-22 14:09:08 +0000 |
commit | ef3f477d42156b0c9994f1de3f85cf052448e52c (patch) | |
tree | d776b22042f2a68dd2d085148389cb358dd343b2 /protocols/Sametime/src/glib/gkeyfile.c | |
parent | dbc42a362991cff4ec4a7499b95b36167ebb43d0 (diff) |
- project cleaning
- warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@8687 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Sametime/src/glib/gkeyfile.c')
-rw-r--r-- | protocols/Sametime/src/glib/gkeyfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Sametime/src/glib/gkeyfile.c b/protocols/Sametime/src/glib/gkeyfile.c index 10ca2a2afd..fa20c5a8b4 100644 --- a/protocols/Sametime/src/glib/gkeyfile.c +++ b/protocols/Sametime/src/glib/gkeyfile.c @@ -415,7 +415,7 @@ g_key_file_load_from_fd (GKeyFile *key_file, do { - bytes_read = read (fd, read_buf, 4096); + bytes_read = _read(fd, read_buf, 4096); if (bytes_read == 0) /* End of File */ break; @@ -492,7 +492,7 @@ g_key_file_load_from_file (GKeyFile *key_file, } g_key_file_load_from_fd (key_file, fd, flags, &key_file_error); - close (fd); + _close(fd); if (key_file_error) { @@ -617,7 +617,7 @@ g_key_file_load_from_dirs (GKeyFile *key_file, found_file = g_key_file_load_from_fd (key_file, fd, flags, &key_file_error); - close (fd); + _close(fd); if (key_file_error) { |