Fix typo in backend_prometheus.c (#10716)
begining -> beginning
Ikko Ashimine committed
Mar 9, 2021 at 03:29 UTC
71bfcf54e3d68bec3cbfdc40d9a33b952c3d41ca
1 file changed
+2
-2
backends/prometheus/backend_prometheus.c
+2
-2
@@ -545,7 +545,7 @@ inline static void remote_write_split_words(char *str, char **words, int max_wor
545
int i = 0;
546
547
while(*s && i < max_words - 1) {
548
- while(*s && isspace(*s)) s++; // skip spaces to the begining of a tag name
548
+ while(*s && isspace(*s)) s++; // skip spaces to the beginning of a tag name
549
550
if(*s)
551
words[i] = s;
@@ -560,7 +560,7 @@ inline static void remote_write_split_words(char *str, char **words, int max_wor
560
s++;
561
i++;
562
563
- while(*s && isspace(*s)) s++; // skip spaces to the begining of a tag value
563
+ while(*s && isspace(*s)) s++; // skip spaces to the beginning of a tag value
564
565
if(*s && *s == '"') s++; // strip an opening quote
566
if(*s)