summaryrefslogtreecommitdiffstats
path: root/gl/streq.h
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2026-03-27 11:14:20 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2026-03-27 11:14:20 +0100
commit1113bbcd92d85b85579aa7feef511241e58fb0f5 (patch)
treed69b7bcfe2f7e80fda9a1f4ddd38209d6cb7aaf0 /gl/streq.h
parent99283972fe3a74d3a1dea12c4099f76286130a67 (diff)
parenta71ce153082565e5728424749475593dc0623492 (diff)
downloadmonitoring-plugins-1113bbcd92d85b85579aa7feef511241e58fb0f5.tar.gz
merged with mastercheck_snmp_fixes
Diffstat (limited to 'gl/streq.h')
-rw-r--r--gl/streq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/streq.h b/gl/streq.h
index 1f1ff38f..505fc4ae 100644
--- a/gl/streq.h
+++ b/gl/streq.h
@@ -1,5 +1,5 @@
1/* Optimized string comparison. 1/* Optimized string comparison.
2 Copyright (C) 2001-2002, 2007, 2009-2025 Free Software Foundation, Inc. 2 Copyright (C) 2001-2002, 2007, 2009-2026 Free Software Foundation, Inc.
3 3
4 This file is free software: you can redistribute it and/or modify 4 This file is free software: you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as 5 it under the terms of the GNU Lesser General Public License as
@@ -39,7 +39,7 @@ extern "C" {
39static inline int 39static inline int
40streq9 (const char *s1, const char *s2) 40streq9 (const char *s1, const char *s2)
41{ 41{
42 return strcmp (s1 + 9, s2 + 9) == 0; 42 return streq (s1 + 9, s2 + 9);
43} 43}
44 44
45static inline int 45static inline int