-/*
- * Copyright (C) 2012 Andre Noll <maan@tuebingen.mpg.de>
- *
- * Licensed under the GPL v2. For licencing details see COPYING.
- */
+/* Copyright (C) 2012 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */
/** \file play.c Paraslash's standalone player. */
if (ret == -ERRNO_TO_PARA_ERROR(ENOENT) && OPT_GIVEN(CONFIG_FILE))
goto free_cf;
ret = 0;
- goto free_cf;
+ goto check_arg_count;
}
ret = lls(lls_convert_config(map, sz, NULL, &cf_argv, &errctx));
para_munmap(map, sz);
lls_free_parse_result(play_lpr, cmd);
play_lpr = merged_lpr;
loglevel = OPT_UINT32_VAL(LOGLEVEL);
-
+check_arg_count:
ret = lls(lls_check_arg_count(play_lpr, 1, INT_MAX, &errctx));
if (ret < 0)
goto free_cf;