Commit fe761393 authored by Yang Tse's avatar Yang Tse
Browse files

tool_easysrc.c: fix --libcurl option output file text translation mode

Use fopen() with "w" mode instead of "wt" to fix cygwin builds.
parent ffb67599
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -176,7 +176,7 @@ void dumpeasysrc(struct Configurable *config)
    FILE *out;
    bool fopened = FALSE;
    if(strcmp(o, "-")) {
      out = fopen(o, "wt");
      out = fopen(o, "w");
      fopened = TRUE;
    }
    else