summaryrefslogtreecommitdiff
path: root/appl/lib/msgio.b
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2008-05-22 18:57:24 +0000
committerCharles.Forsyth <devnull@localhost>2008-05-22 18:57:24 +0000
commit826972481bd5b858c29ebf34c1939832f5d5d4c9 (patch)
treeb9a26864ba510d4940783508128e239f84b7ed6f /appl/lib/msgio.b
parentbf712df18834247f080a60fd5646d40b7cc5ae8b (diff)
20080522-1956
Diffstat (limited to 'appl/lib/msgio.b')
-rw-r--r--appl/lib/msgio.b2
1 files changed, 1 insertions, 1 deletions
diff --git a/appl/lib/msgio.b b/appl/lib/msgio.b
index 035b1783..65ce6017 100644
--- a/appl/lib/msgio.b
+++ b/appl/lib/msgio.b
@@ -89,7 +89,7 @@ getbuf(fd: ref Sys->FD, buf: array of byte, n: int): (int, string)
}
if(buf[0] == byte 0)
return (n, nil);
- if(buf[0] == byte 16rFF){
+ if(buf[0] != byte 16rFF){
# garbled, possibly the wrong encryption
return (-1, "failure");
}