Skip to content

Commit

Permalink
Closes issue #29 - debug log message was being logged as an error
Browse files Browse the repository at this point in the history
Dave Kelly committed Jan 20, 2019

Verified

This commit was signed with the committer’s verified signature. The key has expired.
Pirols Edoardo Piroli
1 parent f167be9 commit 96a135c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raveloxmidi/src/net_connection.c
Original file line number Diff line number Diff line change
@@ -318,7 +318,7 @@ void net_ctx_send( int send_socket, net_ctx_t *ctx, unsigned char *buffer, size_
memset((char *)&send_address, 0, sizeof( send_address));
get_sock_addr( ctx->ip_address, ctx->data_port, (struct sockaddr *)&send_address, &addr_len);

logging_printf(LOGGING_ERROR, "net_ctx_send: send_address size=%d\n", sizeof( send_address ) );
logging_printf(LOGGING_DEBUG, "net_ctx_send: send_address size=%d\n", sizeof( send_address ) );
bytes_sent = sendto( send_socket, buffer, buffer_len , 0 , (struct sockaddr *)&send_address, addr_len);

if( bytes_sent < 0 )

0 comments on commit 96a135c

Please sign in to comment.