The open() is done without mode_t mode.
authorviric@llimona
Tue, 30 May 2006 12:05:42 +0200
changeset 56 48b8acd6e878
parent 55 c72dbd390cf2
child 57 de776a4548da
The open() is done without mode_t mode.
tcp_server.c
--- a/tcp_server.c	Tue May 30 12:02:13 2006 +0200
+++ b/tcp_server.c	Tue May 30 12:05:42 2006 +0200
@@ -300,7 +300,7 @@
 
 	assert (get_config(LOG_FILE, name, MAX_STRING) > 0);
 
-	fh = open(name, O_RDONLY, 0600);
+	fh = open(name, O_RDONLY);
 	if (fh == -1)
 	{
 		fprintf(stderr, "Error opening the log file for read: %s\n",