From e066a954f5b638103102250d87661d91f3c9f3f0 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 7 Jun 2021 00:09:58 -0400 Subject: Replace catf with seprintf --- url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'url.c') diff --git a/url.c b/url.c index 21f946c..72cad0a 100644 --- a/url.c +++ b/url.c @@ -98,7 +98,7 @@ static void push(uint id, const char *nick, const char *str, size_t len) { char buf[1024]; snprintf(buf, sizeof(buf), "%.*s", (int)len, str); - styleStrip(&(struct Cat) { url->url, len + 1, 0 }, buf); + styleStrip(url->url, len + 1, buf); } void urlScan(uint id, const char *nick, const char *mesg) { -- cgit 1.4.1