aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS2
-rw-r--r--src/cmd/samterm/mesg.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 468df51b..4c011d92 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -5,8 +5,10 @@
Albert Lee <trisk@acm.jhu.edu>
André Günther <Andre.G@gmx.de>
+Anthony Sorace <a@9srv.net>
Benjamin Huntsman <BHuntsman@mail2.cu-portland.edu>
Enrique Soriano <enrique.soriano@gmail.com>
+Eoghan Sherry <ejsherry@gmail.com>
Fazlul Shahriar <fshahriar@gmail.com>
J.R. Mauro <jrm8005@gmail.com>
Jeff Sickel <jas@corpus-callosum.com>
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");