aboutsummaryrefslogtreecommitdiff
path: root/plugins/urlize.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/urlize.c')
-rw-r--r--plugins/urlize.c4
1 files changed, 2 insertions, 2 deletions
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);