summaryrefslogtreecommitdiffstats
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 9e02cb5..9835c82 100644
--- a/plugins/urlize.c
+++ b/plugins/urlize.c
@@ -71,9 +71,9 @@ main (int argc, char **argv)
71 exit (STATE_UNKNOWN); 71 exit (STATE_UNKNOWN);
72 } 72 }
73 73
74 cmd = ssprintf (cmd, "%s", argv[2]); 74 asprintf (&cmd, "%s", argv[2]);
75 for (i = 3; i < argc; i++) { 75 for (i = 3; i < argc; i++) {
76 cmd = ssprintf (cmd, "%s %s", cmd, argv[i]); 76 asprintf (&cmd, "%s %s", cmd, argv[i]);
77 } 77 }
78 78
79 child_process = spopen (cmd); 79 child_process = spopen (cmd);