Skip to content

Commit

Permalink
Fix #4: wrong type of getopt() return value
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
  • Loading branch information
troglobit committed Jan 4, 2024
1 parent 96091a7 commit 0f11e15
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,7 @@ main(argc, argv)
fd_set rfds, readers;
int nfds, n, i, secs;
struct sigaction sa;
struct debugname *d;
char ch;
int rc;
int ch, rc;

setlinebuf(stderr);
snprintf(versionstring, sizeof(versionstring), "%s version %s", PACKAGE_NAME, PACKAGE_VERSION);
Expand Down

0 comments on commit 0f11e15

Please sign in to comment.