forked from gronod/squeezelite-esp32
look for eol in telnet - release
This commit is contained in:
@@ -241,7 +241,7 @@ void process_received_data(const char * buffer, size_t size){
|
||||
|
||||
// scrub from any escape command
|
||||
if(*c == '\e'){
|
||||
while(*(c++) !='n'){
|
||||
while(*(c++) != '\n'){
|
||||
--size;
|
||||
};
|
||||
--size;
|
||||
|
||||
Reference in New Issue
Block a user