aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2010-09-01 18:12:54 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2010-09-01 18:12:54 +0200
commitc5b2056ba968a449c0540ff12bf9bfbd4a9c9097 (patch)
tree3dc74a21972f1e9efd39c604d25adf7a8cb45db9 /st.c
parent2b3f6aca5a9ef6cd1ed30743875dfe1927e3b200 (diff)
downloadst-c5b2056ba968a449c0540ff12bf9bfbd4a9c9097.tar.gz
st-c5b2056ba968a449c0540ff12bf9bfbd4a9c9097.tar.bz2
removed debug code.
Diffstat (limited to 'st.c')
-rw-r--r--st.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/st.c b/st.c
index 65829a8..0c876f5 100644
--- a/st.c
+++ b/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