Skip to content

Commit

Permalink
Fix argv index for statsocket
Browse files Browse the repository at this point in the history
For #410
  • Loading branch information
ydahhrk committed Jul 7, 2024
1 parent 8d2edff commit da26110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usr/joold/statsocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ int statsocket_start(int argc, char **argv)
return 0;
}

error = create_socket(argv[2], &sk);
error = create_socket(argv[3], &sk);
if (error)
return error;

Expand Down

0 comments on commit da26110

Please sign in to comment.