Commit f0fa8c6d authored by Wayne Davison's avatar Wayne Davison

Moved the options_rejected label to avoid a compiler warning on

some systems.
parent 9d33e6f7
......@@ -1246,12 +1246,8 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
if (!*backup_dir)
goto options_rejected;
clean_fname(backup_dir, 1);
if (check_filter(elp, backup_dir, 1) < 0) {
options_rejected:
snprintf(err_buf, sizeof err_buf,
"Your options have been rejected by the server.\n");
return 0;
}
if (check_filter(elp, backup_dir, 1) < 0)
goto options_rejected;
}
}
......@@ -1457,6 +1453,11 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
am_starting_up = 0;
return 1;
options_rejected:
snprintf(err_buf, sizeof err_buf,
"Your options have been rejected by the server.\n");
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment