Fix typo in variable name in Windows g_open() implementation.
authorAndrej Kacian <ticho@claws-mail.org>
Sat, 30 May 2015 15:36:34 +0000 (17:36 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Sat, 30 May 2015 15:36:34 +0000 (17:36 +0200)
src/common/utils.c

index aecb84c..064d12a 100644 (file)
@@ -210,7 +210,7 @@ int g_open(const gchar *filename, int flags, int mode)
        char *name = g_win32_locale_filename_from_utf8(filename);
        int fd = open(name, flags, mode);
        g_free(name);
-       return fp;
+       return fd;
 #else
        return open(filename, flags, mode);
 #endif