just use the old style strcpy to keep everything as it was, but just make the buf bigger

This commit is contained in:
qeed 2010-09-03 17:15:58 +00:00
parent d89fdac566
commit a68cff5c3a
1 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,8 @@ static void Update(void *data, int arg)
*(uint8 *)data=0; *(uint8 *)data=0;
seq=ptr=0; seq=ptr=0;
have=1; have=1;
snprintf((char*)bdata, ARRAY_SIZE(bdata), "%s%s", (char*) data + 1, "SUNSOFT"); //mbg merge 7/17/06 strcpy((char*) bdata, (char*) data + 1); // mbg merge 7/17/06
strcpy((char*) bdata + 13, "SUNSOFT"); // mbg merge 0/17/06
} }
} }