diff options
-rw-r--r-- | cmd-generic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-generic.c b/cmd-generic.c index 692c4060..342d592d 100644 --- a/cmd-generic.c +++ b/cmd-generic.c @@ -1,4 +1,4 @@ -/* $Id: cmd-generic.c,v 1.27 2009-05-21 19:46:00 nicm Exp $ */ +/* $Id: cmd-generic.c,v 1.28 2009-05-21 19:47:57 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -34,7 +34,7 @@ int cmd_fill_argument(int, char **, int, char **); size_t cmd_prarg(char *buf, size_t len, const char *prefix, char *arg) { - if (strchr(arg, ' ' ) != NULL) + if (strchr(arg, ' ') != NULL) return (xsnprintf(buf, len, "%s\"%s\"", prefix, arg)); return (xsnprintf(buf, len, "%s%s", prefix, arg)); } |