2009-01-17 [colin] 3.7.0cvs37
[claws.git] / src / common / md5.c
index d70bfc3ca44b1f1f36e1276d10bf51d01642a400..880d28f1dee85afb9df294c225ebce229ee747ca 100644 (file)
@@ -355,7 +355,7 @@ md5_hex_digest_file(char *hexdigest, const unsigned char *file)
        char *lastp = buf; /* point to the start of the buffer */
        size_t total = 0; /* total length read */
        int num_alloc = 1; /* number of blocks allocated */
-       int fd = open(file, O_RDONLY);
+       int fd = g_open(file, O_RDONLY);
 
        if (fd == -1) {
                FILE_OP_ERROR(file, "open");