aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-28 12:54:32 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-28 12:54:32 +0200
commit1757980da5288918a03c16f05526cd3ea7f26e12 (patch)
treeb81da4ce7ac33680cc91e0431e37d52dec036d88
parent66e906c25407a38fe18a7f6cd14c9f849bd561db (diff)
downloadgnunet-1757980da5288918a03c16f05526cd3ea7f26e12.tar.gz
gnunet-1757980da5288918a03c16f05526cd3ea7f26e12.zip
partial fix for problems raised by Alessio on the ML
-rw-r--r--src/include/gnunet_common.h12
-rw-r--r--src/include/gnunet_util_lib.h3
2 files changed, 8 insertions, 7 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 35389e63e..758a5133d 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -980,7 +980,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
980 if (! (cond)) \ 980 if (! (cond)) \
981 { \ 981 { \
982 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, \ 982 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, \
983 _ ("Assertion failed at %s:%d.\n"), \ 983 dgettext ("gnunet", "Assertion failed at %s:%d.\n"), \
984 __FILE__, \ 984 __FILE__, \
985 __LINE__); \ 985 __LINE__); \
986 } \ 986 } \
@@ -1002,7 +1002,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
1002 if (! (cond)) \ 1002 if (! (cond)) \
1003 { \ 1003 { \
1004 GNUNET_log (GNUNET_ERROR_TYPE_WARNING | GNUNET_ERROR_TYPE_BULK, \ 1004 GNUNET_log (GNUNET_ERROR_TYPE_WARNING | GNUNET_ERROR_TYPE_BULK, \
1005 _ ("External protocol violation detected at %s:%d.\n"), \ 1005 dgettext ("gnunet", "External protocol violation detected at %s:%d.\n"), \
1006 __FILE__, \ 1006 __FILE__, \
1007 __LINE__); \ 1007 __LINE__); \
1008 } \ 1008 } \
@@ -1019,7 +1019,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
1019 do \ 1019 do \
1020 { \ 1020 { \
1021 GNUNET_log (level, \ 1021 GNUNET_log (level, \
1022 _ ("`%s' failed at %s:%d with error: %s\n"), \ 1022 dgettext ("gnunet", "`%s' failed at %s:%d with error: %s\n"), \
1023 cmd, \ 1023 cmd, \
1024 __FILE__, \ 1024 __FILE__, \
1025 __LINE__, \ 1025 __LINE__, \
@@ -1038,7 +1038,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
1038 { \ 1038 { \
1039 GNUNET_log_from (level, \ 1039 GNUNET_log_from (level, \
1040 component, \ 1040 component, \
1041 _ ("`%s' failed at %s:%d with error: %s\n"), \ 1041 dgettext ("gnunet", "`%s' failed at %s:%d with error: %s\n"), \
1042 cmd, \ 1042 cmd, \
1043 __FILE__, \ 1043 __FILE__, \
1044 __LINE__, \ 1044 __LINE__, \
@@ -1056,7 +1056,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
1056 do \ 1056 do \
1057 { \ 1057 { \
1058 GNUNET_log (level, \ 1058 GNUNET_log (level, \
1059 _ ("`%s' failed on file `%s' at %s:%d with error: %s\n"), \ 1059 dgettext ("gnunet", "`%s' failed on file `%s' at %s:%d with error: %s\n"), \
1060 cmd, \ 1060 cmd, \
1061 filename, \ 1061 filename, \
1062 __FILE__, \ 1062 __FILE__, \
@@ -1076,7 +1076,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
1076 { \ 1076 { \
1077 GNUNET_log_from (level, \ 1077 GNUNET_log_from (level, \
1078 component, \ 1078 component, \
1079 _ ("`%s' failed on file `%s' at %s:%d with error: %s\n"), \ 1079 dgettext ("gnunet", "`%s' failed on file `%s' at %s:%d with error: %s\n"), \
1080 cmd, \ 1080 cmd, \
1081 filename, \ 1081 filename, \
1082 __FILE__, \ 1082 __FILE__, \
diff --git a/src/include/gnunet_util_lib.h b/src/include/gnunet_util_lib.h
index 09e0b3ba8..cc4f3a01e 100644
--- a/src/include/gnunet_util_lib.h
+++ b/src/include/gnunet_util_lib.h
@@ -58,7 +58,8 @@ extern "C"
58 * THIS release. Otherwise, you are violating the Affero GPL if you make 58 * THIS release. Otherwise, you are violating the Affero GPL if you make
59 * this service available to anyone but yourself. 59 * this service available to anyone but yourself.
60 */ 60 */
61#define GNUNET_AGPL_URL "https://git.gnunet.org/gnunet.git#v" PACKAGE_VERSION 61#define GNUNET_AGPL_URL "https://git.gnunet.org/gnunet.git/tag/?h=v" \
62 PACKAGE_VERSION
62 63
63 64
64#include "gnunet_crypto_lib.h" 65#include "gnunet_crypto_lib.h"