aboutsummaryrefslogtreecommitdiff
path: root/tecbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tecbuf.c')
-rw-r--r--tecbuf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tecbuf.c b/tecbuf.c
index b20966a..8df8b09 100644
--- a/tecbuf.c
+++ b/tecbuf.c
@@ -1015,6 +1015,7 @@ int status;
if(bcount == sizeof(iobuf)){
status = write(chan,iobuf,sizeof(iobuf));
if(status != sizeof(iobuf)){
+ /* NOTE: status *should* be -1, errno *should* be set */
return(FAIL);
}/* End IF */
bcount = 0;
@@ -1037,6 +1038,7 @@ int status;
if(bcount > 0){
status = write(chan,iobuf,(unsigned)bcount);
if(status != bcount){
+ /* NOTE: status *should* be -1, errno *should* be set */
return(FAIL);
}/* End IF */
}/* End IF */