]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afh.c
Avoid unwanted log messages during startup.
[paraslash.git] / afh.c
diff --git a/afh.c b/afh.c
index 4f774f19b846203d9000b56bb6d8e81e4a7b0f7d..699a6d8f83896353c3a6e7eea6d1d8d8a8d5f8ac 100644 (file)
--- a/afh.c
+++ b/afh.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2008-2012 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2008-2013 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -7,7 +7,6 @@
 /** \file afh.c Paraslash's standalone audio format handler tool. */
 
 #include <regex.h>
-#include <sys/time.h>
 
 #include "para.h"
 #include "string.h"
@@ -73,8 +72,8 @@ int main(int argc, char **argv)
        struct afh_info afhi;
 
        afh_cmdline_parser(argc, argv, &conf);
-       HANDLE_VERSION_FLAG("afh", conf);
        loglevel = get_loglevel_by_name(conf.loglevel_arg);
+       HANDLE_VERSION_FLAG("afh", conf);
        ret = -E_AFH_SYNTAX;
        if (conf.inputs_num == 0)
                goto out;