aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/samterm/mesg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/samterm/mesg.c')
-rw-r--r--src/cmd/samterm/mesg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/samterm/mesg.c b/src/cmd/samterm/mesg.c
index fb02373e..1e9cd561 100644
--- a/src/cmd/samterm/mesg.c
+++ b/src/cmd/samterm/mesg.c
@@ -653,7 +653,7 @@ hsetsnarf(int nc)
if(n >= 0){
if(!s1)
n = 0;
- if(n > 65535){
+ if(n > SNARFSIZE){
s1 = strdup("<snarf too long>");
if (!s1)
panic("strdup");