From 3f51e9aed2910ef20e3b729b6188afc192abaf78 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Mon, 27 May 2019 14:15:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84close=5Fstream=20api=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/WebApi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/WebApi.cpp b/server/WebApi.cpp index badcbbe2..774ac891 100644 --- a/server/WebApi.cpp +++ b/server/WebApi.cpp @@ -350,10 +350,10 @@ void installWebApi() { if(src){ bool flag = src->close(); val["code"] = flag ? 0 : -1; - val["msg"] = flag ? "success" : "kick failed"; + val["msg"] = flag ? "success" : "close failed"; }else{ val["code"] = -2; - val["msg"] = "can not find the pusher"; + val["msg"] = "can not find the stream"; } });