android and python updates

This commit is contained in:
Vitor Santos Costa
2016-08-23 17:28:23 -05:00
parent 6f6e294703
commit 676582fe4f
6 changed files with 12 additions and 4 deletions

View File

@@ -888,7 +888,8 @@ static unsigned char *concat(int n, unsigned char *sv[] USES_REGS) {
buf = Malloc(room + 1);
buf0 = (unsigned char *) buf;
for (i = 0; i < n; i++) {
buf = stpcpy(buf, (char *) sv[i]);
buf = strcpy(buf, (char *) sv[i]);
buf += strlen( sv[i] );
}
return buf0;
}