summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 0f41ea0..61a6442 100644
--- a/main.c
+++ b/main.c
@@ -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;