Commit 438f811e authored by deuce's avatar deuce
Browse files

Need to output a \r and a \n.

parent 6559bd03
......@@ -456,6 +456,7 @@ CIOLIBEXPORT char * CIOLIBCALL ciolib_cgets(char *str)
if(len==maxlen) {
str[len+2]=0;
*((unsigned char *)(str+1))=(unsigned char)len;
ciolib_putch('\r');
ciolib_putch('\n');
return(&str[2]);
}
......@@ -464,6 +465,7 @@ CIOLIBEXPORT char * CIOLIBCALL ciolib_cgets(char *str)
}
str[len+2]=0;
*((unsigned char *)(str+1))=(unsigned char)len;
ciolib_putch('\r');
ciolib_putch('\n');
return(&str[2]);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment