From: <dat...@us...> - 2006-08-17 14:07:26
|
Revision: 16815 Author: datallah Date: 2006-08-17 07:07:20 -0700 (Thu, 17 Aug 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16815&view=rev Log Message: ----------- If g_open isn't a macro, we need to specify the mode variable Modified Paths: -------------- trunk/src/protocols/silc/util.c Modified: trunk/src/protocols/silc/util.c =================================================================== --- trunk/src/protocols/silc/util.c 2006-08-17 10:04:21 UTC (rev 16814) +++ trunk/src/protocols/silc/util.c 2006-08-17 14:07:20 UTC (rev 16815) @@ -234,7 +234,7 @@ } #endif - if ((fd = g_open(file_private_key, O_RDONLY)) != -1) { + if ((fd = g_open(file_private_key, O_RDONLY, 0)) != -1) { if ((fstat(fd, &st)) == -1) { gaim_debug_error("silc", "Couldn't stat '%s' private key, error: %s\n", file_private_key, strerror(errno)); @@ -254,7 +254,7 @@ return FALSE; } - if ((fd = g_open(file_private_key, O_RDONLY)) != -1) { + if ((fd = g_open(file_private_key, O_RDONLY, 0)) != -1) { if ((fstat(fd, &st)) == -1) { gaim_debug_error("silc", "Couldn't stat '%s' private key, error: %s\n", file_private_key, strerror(errno)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |