aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
Diffstat (limited to 'modutils')
-rw-r--r--modutils/modutils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/modutils/modutils.c b/modutils/modutils.c
index 2608182a1..cc718dbca 100644
--- a/modutils/modutils.c
+++ b/modutils/modutils.c
@@ -71,8 +71,7 @@ char* FAST_FUNC parse_cmdline_module_options(char **argv)
optlen = 0;
while (*++argv) {
options = xrealloc(options, optlen + 2 + strlen(*argv) + 2);
- /* Spaces handled by "" pairs, but no way of escaping quotes */
- optlen += sprintf(options + optlen, (strchr(*argv, ' ') ? "\"%s\" " : "%s "), *argv);
+ optlen += sprintf(options + optlen, "%s ", *argv);
}
return options;
}