From 4d25520f99292cef322f1155a90589b1fec86307 Mon Sep 17 00:00:00 2001 From: winlin Date: Sun, 28 Apr 2019 08:23:16 +0800 Subject: [PATCH] Refine typo in service. --- trunk/src/service/srs_service_http_client.hpp | 2 +- trunk/src/service/srs_service_st.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/src/service/srs_service_http_client.hpp b/trunk/src/service/srs_service_http_client.hpp index 9c07dd817..9781cbced 100644 --- a/trunk/src/service/srs_service_http_client.hpp +++ b/trunk/src/service/srs_service_http_client.hpp @@ -41,7 +41,7 @@ class SrsWallClock; class SrsTcpClient; // The default timeout for http client. -#define SRS_HTTP_CLIENT_TIMEOUT (30// SRS_UTIME_SECONDS) +#define SRS_HTTP_CLIENT_TIMEOUT (30 * SRS_UTIME_SECONDS) // The client to GET/POST/PUT/DELETE over HTTP. // @remark We will reuse the TCP transport until initialize or channel error, diff --git a/trunk/src/service/srs_service_st.hpp b/trunk/src/service/srs_service_st.hpp index f6843c8ac..7c1bcba2c 100644 --- a/trunk/src/service/srs_service_st.hpp +++ b/trunk/src/service/srs_service_st.hpp @@ -140,7 +140,7 @@ public: // The client to connect to server over TCP. // User must never reuse the client when close it. // Usage: -// SrsTcpClient client("127.0.0.1", 1935, 9// SRS_UTIME_SECONDS); +// SrsTcpClient client("127.0.0.1", 1935, 9 * SRS_UTIME_SECONDS); // client.connect(); // client.write("Hello world!", 12, NULL); // client.read(buf, 4096, NULL);