summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorArnavion <arnavion@gmail.com>2012-11-04 09:27:15 -0800
committerArnavion <arnavion@gmail.com>2012-11-04 09:27:15 -0800
commitb969665e470b862c3ecc38989a929773c602c38c (patch)
tree6608a258f8ffd37d24ab64b8063a106949a3300c /src
parent6560e6365a438e690121331f7d6fdef08f60afda (diff)
utf8-everywhere: Fixed log_write to use access instead of g_access.
Diffstat (limited to 'src')
-rw-r--r--src/common/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/text.c b/src/common/text.c
index d8f61b8c..2063174b 100644
--- a/src/common/text.c
+++ b/src/common/text.c
@@ -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,