diff options
Diffstat (limited to 'nis/nss_nis/nis-ethers.c')
-rw-r--r-- | nis/nss_nis/nis-ethers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nis/nss_nis/nis-ethers.c b/nis/nss_nis/nis-ethers.c index 328d61f..def4c22 100644 --- a/nis/nss_nis/nis-ethers.c +++ b/nis/nss_nis/nis-ethers.c @@ -52,13 +52,13 @@ saveit (int instatus, char *inkey, int inkeylen, char *inval, int invallen, char *indata) { if (instatus != YP_TRUE) - return instatus; + return 1; if (inkey && inkeylen > 0 && inval && invallen > 0) { struct response *newp = malloc (sizeof (struct response) + invallen + 1); if (newp == NULL) - return YP_FALSE; /* We have no error code for out of memory */ + return 1; /* We have no error code for out of memory */ if (start == NULL) start = newp; |