Skip to content
Snippets Groups Projects
Commit 438f811e authored by deuce's avatar deuce
Browse files

Need to output a \r and a \n.

parent 6559bd03
Branches
Tags
No related merge requests found
......@@ -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]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment