Skip to content

Commit

Permalink
Fix argument parsing regression in x0vncserver
Browse files Browse the repository at this point in the history
The argument index progression wasn't properly adjusted in e97e225,
causing it to skip arguments.
  • Loading branch information
CendioOssman committed Jan 23, 2025
1 parent 7ba2319 commit c479602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix/x0vncserver/x0vncserver.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ int main(int argc, char** argv)
if (hasSystemdListeners())
rfbport.setParam(-1);

for (int i = 1; i < argc; i++) {
for (int i = 1; i < argc;) {
int ret;

ret = Configuration::handleParamArg(argc, argv, i);
Expand Down

0 comments on commit c479602

Please sign in to comment.