summaryrefslogtreecommitdiff
path: root/main/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/http.c')
-rw-r--r--main/http.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/http.c b/main/http.c
index a59d7a58b..a1cd73a91 100644
--- a/main/http.c
+++ b/main/http.c
@@ -544,7 +544,8 @@ static void http_server_start(struct sockaddr_in *sin)
/* Do nothing if nothing has changed */
if (!memcmp(&oldsin, sin, sizeof(oldsin))) {
- ast_log(LOG_DEBUG, "Nothing changed in http\n");
+ if (option_debug)
+ ast_log(LOG_DEBUG, "Nothing changed in http\n");
return;
}