aboutsummaryrefslogtreecommitdiff
path: root/ge.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-06-06 13:43:12 +0000
committerOmar Polo <op@omarpolo.com>2024-06-06 13:43:12 +0000
commit848189f10a98768b372186de8b9fe013ad49d4e5 (patch)
treee2d451bf4bbc6ac51e0ea98f1ad9cd409f408aa8 /ge.c
parent1bc73c3bcbd85e2682afca36595ea44a75345e65 (diff)
attempt to deal with the portability fiasco of strnvis(3)
Diffstat (limited to 'ge.c')
-rw-r--r--ge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ge.c b/ge.c
index 2bd3991..0296dba 100644
--- a/ge.c
+++ b/ge.c
@@ -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';
- strnvis(cn, cntmp, sizeof(cn), VIS_WHITE|VIS_DQ);
+ gmid_strnvis(cn, cntmp, sizeof(cn), VIS_WHITE|VIS_DQ);
}
}