summaryrefslogtreecommitdiffstats
path: root/lib/perfdata.c
diff options
context:
space:
mode:
authorDirk Mueller <dmueller@suse.com>2026-02-16 11:21:21 +0100
committerGitHub <noreply@github.com>2026-02-16 11:21:21 +0100
commit423d0c52674bfa4ec49e4ae8bce645131f657f74 (patch)
treea27276c89d37e3753b5ead6abe56132f2801d444 /lib/perfdata.c
parent0f0865c910096c95594ac09929708e84934e46df (diff)
downloadmonitoring-plugins-423d0c52674bfa4ec49e4ae8bce645131f657f74.tar.gz
Fix a few typos (#2231)
Diffstat (limited to 'lib/perfdata.c')
-rw-r--r--lib/perfdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/perfdata.c b/lib/perfdata.c
index 2930a8bc..b447b8ea 100644
--- a/lib/perfdata.c
+++ b/lib/perfdata.c
@@ -37,7 +37,7 @@ char *pd_to_string(mp_perfdata pd) {
37 if (strchr(pd.label, '\'') == NULL) { 37 if (strchr(pd.label, '\'') == NULL) {
38 asprintf(&result, "'%s'=", pd.label); 38 asprintf(&result, "'%s'=", pd.label);
39 } else { 39 } else {
40 // we have a illegal single quote in the string 40 // we have an illegal single quote in the string
41 // replace it silently instead of complaining 41 // replace it silently instead of complaining
42 for (char *ptr = pd.label; *ptr == '\0'; ptr++) { 42 for (char *ptr = pd.label; *ptr == '\0'; ptr++) {
43 if (*ptr == '\'') { 43 if (*ptr == '\'') {