diff options
| author | Charles.Forsyth <devnull@localhost> | 2008-05-22 18:57:24 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2008-05-22 18:57:24 +0000 |
| commit | 826972481bd5b858c29ebf34c1939832f5d5d4c9 (patch) | |
| tree | b9a26864ba510d4940783508128e239f84b7ed6f /appl/lib/msgio.b | |
| parent | bf712df18834247f080a60fd5646d40b7cc5ae8b (diff) | |
20080522-1956
Diffstat (limited to 'appl/lib/msgio.b')
| -rw-r--r-- | appl/lib/msgio.b | 2 |
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"); } |
