diff options
| author | Christian Göttsche | 2025-03-09 13:51:46 +0100 |
|---|---|---|
| committer | Julien Voisin | 2025-06-16 18:00:17 +0200 |
| commit | 095bf518bc0d842f96c5ae6e89fc6b0db61dc9dc (patch) | |
| tree | 2c56564ca3383aeed8f6634be494e442c3b2cd8d | |
| parent | 4052c363ec770559aade8bf4ab57e49f2322281d (diff) | |
Fix spelling
| -rw-r--r-- | src/sp_pcre_compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_pcre_compat.c b/src/sp_pcre_compat.c index 3658692..10127ba 100644 --- a/src/sp_pcre_compat.c +++ b/src/sp_pcre_compat.c | |||
| @@ -32,7 +32,7 @@ bool sp_is_regexp_matching_len(const sp_pcre* regexp, const char* str, size_t le | |||
| 32 | #ifdef SP_HAS_PCRE2 | 32 | #ifdef SP_HAS_PCRE2 |
| 33 | pcre2_match_data* match_data = pcre2_match_data_create_from_pattern(regexp, NULL); | 33 | pcre2_match_data* match_data = pcre2_match_data_create_from_pattern(regexp, NULL); |
| 34 | if (NULL == match_data) { | 34 | if (NULL == match_data) { |
| 35 | sp_log_err("regexp", "Unable to get memory for a regxp."); | 35 | sp_log_err("regexp", "Unable to get memory for a regexp."); |
| 36 | } | 36 | } |
| 37 | ret = pcre2_match(regexp, (PCRE2_SPTR)str, len, 0, 0, match_data, NULL); | 37 | ret = pcre2_match(regexp, (PCRE2_SPTR)str, len, 0, 0, match_data, NULL); |
| 38 | pcre2_match_data_free(match_data); | 38 | pcre2_match_data_free(match_data); |
