Mercurial > hg
changeset 556:c4fee1a2c478
Fix bug in split_arg()
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Wed, 30 Nov 2005 22:34:06 +0100 |
parents | 11ac80e41c7d |
children | c72a66dfd2d4 |
files | mcabber/src/utils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/utils.c Tue Nov 29 23:51:33 2005 +0100 +++ b/mcabber/src/utils.c Wed Nov 30 22:34:06 2005 +0100 @@ -419,7 +419,7 @@ // end of parameter *(arglst+i) = g_strndup(start, p-start); strip_arg_special_chars(*(arglst+i)); - start = p+1; + for (start = p+1; *start && *start == ' '; start++) ; i++; } }