main
sq5bpf 2023-12-29 21:28:17 +01:00
rodzic 3eb6e144fc
commit 350e667c5d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -438,7 +438,7 @@ struct k5_command *k5_receive(int fd,int tmout) {
fprintf(stderr,"k5_receive: bad magic number\n");
/* Assume we are out of sync and flush rx buffer by reading everything.
* This works because the boot message is repeated. */
whilei (len>0)
while (len>0)
len =read_timeout(fd,(unsigned char *)&buf,sizeof(buf),10000);
return(0);
}