소스 검색

removed debug code.

Aurélien Aptel 14 년 전
부모
커밋
df5c5ed045
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      st.c

+ 1 - 3
st.c

@@ -392,10 +392,8 @@ ttyread(void) {
 
 	if((ret = read(cmdfd, buf, LEN(buf))) < 0)
 		die("Couldn't read from shell: %s\n", SERRNO);
-	else {
-		printf("ttyread %d\n", ret);
+	else
 		tputs(buf, ret);
-	}
 }
 
 void