Use constants for file mode.

This commit is contained in:
Michael Jumper 2013-10-22 10:29:32 -07:00
parent da7168e161
commit 67c461be40

View File

@ -199,7 +199,7 @@ int guac_rdpdr_fs_open(guac_rdpdr_device* device,
} }
/* Open file */ /* Open file */
fd = open(real_path, flags, 0600); fd = open(real_path, flags, S_IRUSR | S_IWUSR);
if (fd == -1) if (fd == -1)
return GUAC_RDPDR_FS_ENOENT; return GUAC_RDPDR_FS_ENOENT;