Skip to content

Commit

Permalink
[web] Remove verbose listener_cb() logging added in commit f939215
Browse files Browse the repository at this point in the history
  • Loading branch information
ejurgensen committed May 21, 2021
1 parent 28f8ff5 commit 5fdace5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/websocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,14 @@ static pthread_mutex_t websocket_write_event_lock;
static short websocket_write_events;



/* Thread: library (the thread the event occurred) */
static void
listener_cb(short event_mask)
{
DPRINTF(E_INFO, L_WEB, "listener_cb: %d\n", event_mask);
pthread_mutex_lock(&websocket_write_event_lock);
websocket_write_events |= event_mask;
pthread_mutex_unlock(&websocket_write_event_lock);

lws_cancel_service(context);
}

Expand Down

0 comments on commit 5fdace5

Please sign in to comment.