From 9e009c4b1128352c6039d25b39213fd480e9b055 Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Wed, 13 Nov 2002 11:50:54 +0000 Subject: remove call_getopt and asprintf git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@190 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/urlize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/urlize.c') diff --git a/plugins/urlize.c b/plugins/urlize.c index 9e02cb5d..9835c824 100644 --- a/plugins/urlize.c +++ b/plugins/urlize.c @@ -71,9 +71,9 @@ main (int argc, char **argv) exit (STATE_UNKNOWN); } - cmd = ssprintf (cmd, "%s", argv[2]); + asprintf (&cmd, "%s", argv[2]); for (i = 3; i < argc; i++) { - cmd = ssprintf (cmd, "%s %s", cmd, argv[i]); + asprintf (&cmd, "%s %s", cmd, argv[i]); } child_process = spopen (cmd); -- cgit v1.2.3