--- a/mcabber/mcabber/utils.c Tue Jun 24 20:42:29 2014 +0200
+++ b/mcabber/mcabber/utils.c Tue Jun 24 20:58:46 2014 +0200
@@ -581,7 +581,7 @@
{
int instring = FALSE;
int escape = FALSE;
- char *p;
+ char *p, *t;
if (!s) return;
@@ -590,7 +590,7 @@
if (!escape) {
instring = !instring;
//memmove(p, p+1, strlen(p));
- for (char *t=p; *t; t++)
+ for (t=p; *t; t++)
*t = *(t+1);
p--;
} else
@@ -598,7 +598,7 @@
} else if (*p == '\\') {
if (!escape) {
//memmove(p, p+1, strlen(p));
- for (char *t=p; *t; t++)
+ for (t=p; *t; t++)
*t = *(t+1);
p--;
}