This is an automated email from the ASF dual-hosted git repository.

maskit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 340c1bf  Print error message for unimplemented commands
340c1bf is described below

commit 340c1bf745939221752355c852ee68cc46d6cb7d
Author: Masakazu Kitajo <mas...@apache.org>
AuthorDate: Mon Nov 5 15:16:38 2018 +0900

    Print error message for unimplemented commands
---
 src/traffic_ctl/traffic_ctl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/traffic_ctl/traffic_ctl.cc b/src/traffic_ctl/traffic_ctl.cc
index c510c42..be61cf0 100644
--- a/src/traffic_ctl/traffic_ctl.cc
+++ b/src/traffic_ctl/traffic_ctl.cc
@@ -186,7 +186,7 @@ CtrlProcessArguments(int /* argc */, const char **argv, 
const ArgumentDescriptio
 int
 CtrlUnimplementedCommand(unsigned /* argc */, const char **argv)
 {
-  CtrlDebug("the '%s' command is not implemented", *argv);
+  fprintf(stderr, "'%s' command is not implemented\n", *argv);
   return CTRL_EX_UNIMPLEMENTED;
 }
 

Reply via email to