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
commitdf5c5ed04547986ad2fd22226aaa3da430310374 (patch)
tree3dc74a21972f1e9efd39c604d25adf7a8cb45db9 /st.c
parent5ce6c5c0324ef3b7d0f5b9e6e2ba4d87ae0d3bb1 (diff)
downloadst-df5c5ed04547986ad2fd22226aaa3da430310374.tar.gz
st-df5c5ed04547986ad2fd22226aaa3da430310374.tar.bz2
st-df5c5ed04547986ad2fd22226aaa3da430310374.zip
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