Skip to content

Commit

Permalink
main BUGFIX wrong param order
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Jul 1, 2024
1 parent d1a99ae commit 7ec275a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ server_destroy(void)
free(np2srv.url_protocols);

/* zero */
memset(&np2srv, sizeof np2srv, 0);
memset(&np2srv, 0, sizeof np2srv);
}

/**
Expand Down

0 comments on commit 7ec275a

Please sign in to comment.