changeset 911:fe57dd753a56 0.7.7

Fix a segfault Fix a segfault when there are several consecutive spaces in a command.
author Mikael Berthe <mikael@lilotux.net>
date Wed, 21 Jun 2006 23:19:05 +0200
parents 7613db31d344
children 316827f0ab78
files mcabber/src/utils.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/utils.c	Wed Jun 21 23:17:22 2006 +0200
+++ b/mcabber/src/utils.c	Wed Jun 21 23:19:05 2006 +0200
@@ -444,6 +444,7 @@
       *(arglst+i) = g_strndup(start, p-start);
       strip_arg_special_chars(*(arglst+i));
       for (start = p+1; *start && *start == ' '; start++) ;
+      p = start;
       i++;
     }
   }