summaryrefslogtreecommitdiff
path: root/lib/ZSendNot.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ZSendNot.c')
-rw-r--r--lib/ZSendNot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ZSendNot.c b/lib/ZSendNot.c
index 683b666..e8cc40f 100644
--- a/lib/ZSendNot.c
+++ b/lib/ZSendNot.c
@@ -29,7 +29,7 @@ Code_t ZSendNotice(notice)
len = BUFSIZ;
- if ((retval = ZFormatNotice(notice,buffer,sizeof buffer,&len)) < 0) {
+ if ((retval = ZFormatNotice(notice,buffer,BUFSIZ,&len)) < 0) {
free(buffer);
return (retval);
}