Fix err msg

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
This commit is contained in:
Jianhui Zhao
2018-03-13 22:34:17 +08:00
parent e893de15e9
commit fabbdc3903

View File

@@ -102,6 +102,7 @@ func serveCmd(br *Bridge, w http.ResponseWriter, r *http.Request) {
return
case <- ticker.C:
err = COMMAND_ERR_TIMEOUT
msg = "timeout"
goto Err
}
}