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 a391002..f971a9b 100644
--- a/lib/ZSendNot.c
+++ b/lib/ZSendNot.c
@@ -25,7 +25,7 @@ Code_t ZSendNotice(notice)
buffer = (char *)malloc(Z_MAXPKTLEN);
if (!buffer)
- return (ZERR_NOMEM);
+ return (ENOMEM);
if ((retval = ZFormatNotice(notice,buffer,Z_MAXPKTLEN,&len)) !=
ZERR_NONE) {