Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nss/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'nss/common.h')
-rw-r--r--nss/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nss/common.h b/nss/common.h
index ed37ec3..29a52f5 100644
--- a/nss/common.h
+++ b/nss/common.h
@@ -64,7 +64,7 @@ TFILE *nslcd_client_open(void)
the stream. */
#define READ_RESPONSE_CODE(fp) \
READ_TYPE(fp,tmpint32,int32_t); \
- if (tmpint32!=(int32_t)NSLCD_RESULT_SUCCESS) \
+ if (tmpint32!=(int32_t)NSLCD_RESULT_BEGIN) \
{ ERROR_OUT_NOSUCCESS(fp,tmpint32) }
/* These are macros for handling read and write problems, they are
@@ -97,7 +97,7 @@ TFILE *nslcd_client_open(void)
ERROR_OUT_READERROR(fp)
/* This macro is called if the read status code is not
- NSLCD_RESULT_SUCCESS. */
+ NSLCD_RESULT_BEGIN. */
#define ERROR_OUT_NOSUCCESS(fp,retv) \
(void)tio_close(fp); \
fp=NULL; \