From d58ac74669f223c66be6557dbfcab38c65daa21c Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 10 Dec 2016 16:22:16 -0600 Subject: [PATCH] main: use pkgconf_ namespaced strlcpy/strlcat stubs --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index d4f7ff3..bf96660 100644 --- a/main.c +++ b/main.c @@ -343,12 +343,12 @@ print_variable(pkgconf_client_t *client, pkgconf_pkg_t *pkg, void *data, unsigne { if (*(req->buf) == '\0') { - strlcpy(req->buf, var, sizeof(req->buf)); + pkgconf_strlcpy(req->buf, var, sizeof(req->buf)); return; } - strlcat(req->buf, " ", sizeof(req->buf)); - strlcat(req->buf, var, sizeof(req->buf)); + pkgconf_strlcat(req->buf, " ", sizeof(req->buf)); + pkgconf_strlcat(req->buf, var, sizeof(req->buf)); } }