diff options
Diffstat (limited to 'modutils/modutils.c')
-rw-r--r-- | modutils/modutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modutils.c b/modutils/modutils.c index 18ea5374e..10b49c901 100644 --- a/modutils/modutils.c +++ b/modutils/modutils.c | |||
@@ -106,7 +106,7 @@ char * FAST_FUNC parse_cmdline_module_options(char **argv) | |||
106 | while (*++argv) { | 106 | while (*++argv) { |
107 | options = xrealloc(options, optlen + 2 + strlen(*argv) + 2); | 107 | options = xrealloc(options, optlen + 2 + strlen(*argv) + 2); |
108 | /* Spaces handled by "" pairs, but no way of escaping quotes */ | 108 | /* Spaces handled by "" pairs, but no way of escaping quotes */ |
109 | optlen += sprintf(options + optlen, (strchr(*argv,' ') ? "\"%s\" " : "%s "), *argv); | 109 | optlen += sprintf(options + optlen, (strchr(*argv, ' ') ? "\"%s\" " : "%s "), *argv); |
110 | } | 110 | } |
111 | return options; | 111 | return options; |
112 | } | 112 | } |