diff options
author | Omar Polo <op@omarpolo.com> | 2024-06-08 18:37:57 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-06-08 18:37:57 +0000 |
commit | 401030113e383542ae85f2e51bde9f94ff4015f8 (patch) | |
tree | 2f21d5f5c19c85e2ce3efb50b7d3f6a0407c6336 /ge.c | |
parent | fcf3f1fa9a0d6b30a189e7e71fc55348d72595ce (diff) |
change the approach for strnvis
instead of making things more obscure via gmid_strnvis(), let's
just check for strnvis with -Werror so we can swap the OS broken
implementation with the bundled OpenBSD one.
Diffstat (limited to 'ge.c')
-rw-r--r-- | ge.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ log_request(struct client *c, int code, const char *meta) strlcpy(cntmp, subj + 4, sizeof(cntmp)); if ((n = strchr(cntmp, '/')) != NULL) *n = '\0'; - gmid_strnvis(cn, cntmp, sizeof(cn), VIS_WHITE|VIS_DQ); + strnvis(cn, cntmp, sizeof(cn), VIS_WHITE|VIS_DQ); } } |