Use VERSION_YEAR to build an up-to-date copyright string

This commit is contained in:
Sven Geuer 2023-09-27 17:01:00 +02:00
parent afbab76cf1
commit 2f733348cc

View file

@ -38,7 +38,7 @@ extern char * optarg;
static char *getCredentialsFromFile( const char* filename, char **user, char **pass, char **rem_user, char **rem_pass);
void cmdline_parser_print_version (void) {
printf ("%s %s Copyright 2001-2020 Proxytunnel Project\n", PACKAGE, VERSION);
printf ("%s %s Copyright 2001-%s Proxytunnel Project\n", PACKAGE, VERSION, VERSION_YEAR);
}
void cmdline_parser_print_help (void) {