diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-10 23:34:29 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-10 23:34:29 +0200 |
commit | 5fb493c99846cb475dab7321a4d835025c96051b (patch) | |
tree | f0bd1a23f4a63540d73721ff4aad39d39fd526e9 /main.c | |
parent | 6adb89c30c9e876848fa84774674db0fd05dad8d (diff) |
Some more close-on-exec
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -74,7 +74,7 @@ cfg_read(struct cfg *cfg) { FILE *cfgfile; - cfgfile = fopen("./mcproxy.conf", "r"); + cfgfile = fopen("./mcproxy.conf", "re"); if (!cfgfile) { if (errno == ENOENT) return; |