pre-inst/pre-inst.c
changeset 102 fd3bee6d1637
parent 97 55ae076f393c
child 109 2947214c450e
     1.1 --- a/pre-inst/pre-inst.c	Tue Jul 14 18:03:26 2020 +0100
     1.2 +++ b/pre-inst/pre-inst.c	Thu Jul 16 23:03:08 2020 +0100
     1.3 @@ -30,6 +30,7 @@
     1.4  #include <lua.h>
     1.5  #include <razor.h>
     1.6  #include <plover/plover.h>
     1.7 +#include <plover/uri-handler.h>
     1.8  #include <whelk/whelk.h>
     1.9  #ifdef WIN32
    1.10  #include <windows.h>
    1.11 @@ -662,7 +663,7 @@
    1.12      if (!g_option_context_parse(context,&argc,&argv,&error))
    1.13      {
    1.14  	g_printerr("pre-install: %s\n",error->message);
    1.15 -	g_printerr("Use \"%s --help\" for help\n",(*argv)[0]);
    1.16 +	g_printerr("Use \"%s --help\" for help\n",argv[0]);
    1.17  	exit(1);
    1.18      }
    1.19      if (repository && path)