diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-21 20:56:22 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-21 20:56:22 +0000 |
commit | c4355f4eaa804bd9b10a2b30cd2dbf445ccc3817 (patch) | |
tree | 398849e29e28db9787682e06d3668ab0ce78e9e0 | |
parent | 8a0b55ff35a54449b07d4f096a774956da134083 (diff) | |
download | ffmpeg-c4355f4eaa804bd9b10a2b30cd2dbf445ccc3817.tar.gz |
open logfile in append mode, don't overwrite it
Originally committed as revision 13223 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | ffserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index fc774d9733..1cbc874720 100644 --- a/ffserver.c +++ b/ffserver.c @@ -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) { |