Skip to content

Commit

Permalink
Fixed typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed Feb 28, 2024
1 parent a244d42 commit 243f05d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transports/janus_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -1539,7 +1539,7 @@ static MHD_Result janus_http_handler(void *cls, struct MHD_Connection *connectio
}
/* Or maybe a ping */
if(session_path != NULL && !strcmp(session_path, "ping")) {
/* The info REST endpoint, if contacted through a GET, provides information on the Janus core */
/* The ping REST endpoint, if contacted through a GET, pings the Janus core */
if(strcasecmp(method, "GET")) {
response = MHD_create_response_from_buffer(0, NULL, MHD_RESPMEM_PERSISTENT);
janus_http_add_cors_headers(msg, response);
Expand Down Expand Up @@ -1960,7 +1960,7 @@ static MHD_Result janus_http_admin_handler(void *cls, struct MHD_Connection *con
}
/* Or maybe a ping */
if(session_path != NULL && !strcmp(session_path, "ping")) {
/* The info REST endpoint, if contacted through a GET, provides information on the Janus core */
/* The ping REST endpoint, if contacted through a GET, pings the Janus core */
if(strcasecmp(method, "GET")) {
response = MHD_create_response_from_buffer(0, NULL, MHD_RESPMEM_PERSISTENT);
janus_http_add_cors_headers(msg, response);
Expand Down

0 comments on commit 243f05d

Please sign in to comment.