Merge pull request #227 from Arnavion/utf8-everywhere

utf8-everywhere part 3
This commit is contained in:
bviktor 2012-11-04 09:31:46 -08:00
commit 7873bfe211
1 changed files with 2 additions and 2 deletions

View File

@ -705,7 +705,7 @@ log_write (session *sess, char *text)
server_get_network (sess->server, FALSE));
if (file)
{
if (access (file, F_OK) != 0)
if (g_access (file, F_OK) != 0)
{
close (sess->logfd);
sess->logfd = log_open_file (sess->server->servername, sess->channel,