Going on
This commit is contained in:
parent
7a243fdb8d
commit
1b657bd8c6
|
@ -267,9 +267,9 @@ static int _send_string(char * string, char buf[], int buflen, int * pos)
|
|||
#endif
|
||||
while(*pos < buflen)
|
||||
{
|
||||
buf[*pos] = string[i++];
|
||||
buf[*pos] = string[i];
|
||||
(*pos)++;
|
||||
if(string[i] == '\0')
|
||||
if(string[i++] == '\0')
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user