mcabber/src/utils.c
changeset 911 fe57dd753a56
parent 816 a6628f0aabc1
child 952 527d6f234924
equal deleted inserted replaced
910:7613db31d344 911:fe57dd753a56
   442     if (*p == ' ' && !instring && i+1 < n) {
   442     if (*p == ' ' && !instring && i+1 < n) {
   443       // end of parameter
   443       // end of parameter
   444       *(arglst+i) = g_strndup(start, p-start);
   444       *(arglst+i) = g_strndup(start, p-start);
   445       strip_arg_special_chars(*(arglst+i));
   445       strip_arg_special_chars(*(arglst+i));
   446       for (start = p+1; *start && *start == ' '; start++) ;
   446       for (start = p+1; *start && *start == ' '; start++) ;
       
   447       p = start;
   447       i++;
   448       i++;
   448     }
   449     }
   449   }
   450   }
   450 
   451 
   451   if (start < end) {
   452   if (start < end) {