From 6aada9b1ba77d492adb98e93c1f9d2d8c8488ec7 Mon Sep 17 00:00:00 2001
From: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Date: Tue, 24 Jun 2008 21:35:27 +0000
Subject: [PATCH] Use http_log() rather than printing on stdout to show the
 launched commandlines.

Originally committed as revision 13954 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 ffserver.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ffserver.c b/ffserver.c
index 742ec6042c8..923870e2f43 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -417,11 +417,11 @@ static void start_children(FFStream *feed)
                 strcpy(slash, "ffmpeg");
 
                 if (ffserver_debug) {
-                    fprintf(stdout, "Launch commandline: ");
-                    fprintf(stdout, "%s ", pathname);
+                    http_log("Launch commandline: ");
+                    http_log("%s ", pathname);
                     for (i = 1; feed->child_argv[i] && feed->child_argv[i][0]; i++)
-                        fprintf(stdout, "%s ", feed->child_argv[i]);
-                    fprintf(stdout, "\n");
+                        http_log("%s ", feed->child_argv[i]);
+                    http_log("\n");
                 }
 
                 for (i = 3; i < 256; i++)
-- 
GitLab