Skip to content

Commit

Permalink
nsock: minor style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
henri committed Aug 31, 2017
1 parent 40e8199 commit 0afdee1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nsock/src/nsock_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ nsock_logger_t NsockLogger = nsock_stderr_logger;

void nsock_set_log_function(nsock_logger_t logger) {
if (logger != NULL)
NsockLogger = logger;
NsockLogger = logger;
else
NsockLogger = nsock_stderr_logger;
NsockLogger = nsock_stderr_logger;

nsock_log_debug("Registered external logging function: %p", NsockLogger);
}
Expand Down

0 comments on commit 0afdee1

Please sign in to comment.