Browse Source

open logfile in append mode, don't overwrite it

Originally committed as revision 13223 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 17 years ago
parent
commit
c4355f4eaa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffserver.c

+ 1
- 1
ffserver.c View File

@@ -4448,7 +4448,7 @@ int main(int argc, char **argv)
if (!strcmp(logfilename, "-"))
logfile = stdout;
else
logfile = fopen(logfilename, "w");
logfile = fopen(logfilename, "a");
}

if (http_server() < 0) {


Loading…
Cancel
Save