summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2009-05-19 05:04:24 +0000
committerjsorg71 <jsorg71>2009-05-19 05:04:24 +0000
commitd9ba6c30ca0044de8663e46c4de2467d049f18e8 (patch)
treef9f690b8db3fa2d2f1d63029888cef89820176fa /xrdp
parent23ffdb0c5fe0315d9d237f168e7d72abe0ba422c (diff)
downloadxrdp-proprietary-d9ba6c30ca0044de8663e46c4de2467d049f18e8.tar.gz
xrdp-proprietary-d9ba6c30ca0044de8663e46c4de2467d049f18e8.zip
remove g_set_file_rights since g_file_open sets the bits right
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c
index cb43321d..66654121 100644
--- a/xrdp/xrdp.c
+++ b/xrdp/xrdp.c
@@ -559,7 +559,6 @@ main(int argc, char** argv)
}
else
{
- g_set_file_rights(pid_file, 1, 1); /* xrdp.pid */
g_sprintf(text, "%d", pid);
g_file_write(fd, text, g_strlen(text));
g_file_close(fd);