diff options
Diffstat (limited to 'res/res_http_websocket.c')
-rw-r--r-- | res/res_http_websocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_http_websocket.c b/res/res_http_websocket.c index 0726950bb..f4c44c4e9 100644 --- a/res/res_http_websocket.c +++ b/res/res_http_websocket.c @@ -653,7 +653,7 @@ int ast_websocket_uri_cb(struct ast_tcptls_session_instance *ser, const struct a return 0; } - ast_verb(2, "WebSocket connection from '%s' for protocol '%s' accepted using version '%d'\n", ast_sockaddr_stringify(&ser->remote_address), protocol, version); + ast_verb(2, "WebSocket connection from '%s' for protocol '%s' accepted using version '%d'\n", ast_sockaddr_stringify(&ser->remote_address), protocol ? : "", version); /* Populate the session with all the needed details */ session->f = ser->f; |