commit 91d6974d3048b67014585c31f041bb9a4a4a6da9
parent 408588259eaa2c257937a04dbb3c4f8f0108f07d
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 4 Sep 2023 11:52:58 +0200
Update of macros used in the les2htcp version
These macros were apparently defined when the project name was
undecided, and therefore did not respect its current naming convention.
Diffstat:
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/les2htcp.c b/src/les2htcp.c
@@ -124,9 +124,9 @@ args_init(struct args* args, const int argc, char** argv)
case 'v':
printf("%s %d.%d.%d\n",
argv[0],
- LES2HTLES_VERSION_MAJOR,
- LES2HTLES_VERSION_MINOR,
- LES2HTLES_VERSION_PATCH);
+ LES2HTCP_VERSION_MAJOR,
+ LES2HTCP_VERSION_MINOR,
+ LES2HTCP_VERSION_PATCH);
args->quit = 1;
goto exit;
default: res = RES_BAD_ARG; break;
diff --git a/src/les2htcp.h.in b/src/les2htcp.h.in
@@ -1,6 +1,6 @@
-/* Copyright (C) 2018, 2020-2022 |Méso|Star> (contact@meso-star.com)
- * Copyright (C) 2018 CNRS
- * Copyright (C) 2018 Université Paul Sabatier (contact-edstar@laplace.univ-tlse.fr)
+/* Copyright (C) 2018, 2020-2023 |Méso|Star> (contact@meso-star.com)
+ * Copyright (C) 2018 Centre National de la Recherche Scientifique
+ * Copyright (C) 2018 Université Paul Sabatier
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,12 +15,12 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#ifndef LES2HTLES_H
-#define LES2HTLES_H
+#ifndef LES2HTCP_H
+#define LES2HTCP_H
-#define LES2HTLES_VERSION_MAJOR @VERSION_MAJOR@
-#define LES2HTLES_VERSION_MINOR @VERSION_MINOR@
-#define LES2HTLES_VERSION_PATCH @VERSION_PATCH@
+#define LES2HTCP_VERSION_MAJOR @VERSION_MAJOR@
+#define LES2HTCP_VERSION_MINOR @VERSION_MINOR@
+#define LES2HTCP_VERSION_PATCH @VERSION_PATCH@
-#endif /* LES2HTLES_H */
+#endif /* LES2HTCP_H */