diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-04-30 15:33:51 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-05-06 08:51:50 -0400 |
commit | 4f88dcb91128aae87c8c2d95446d5303a1b0620f (patch) | |
tree | c56ce905b3d62e100ae95b9cadc36725ed876de9 /server/responder | |
parent | 4a26a29404e901ceca0a42bac18084b5d3e1f210 (diff) | |
download | sssd-4f88dcb91128aae87c8c2d95446d5303a1b0620f.tar.gz sssd-4f88dcb91128aae87c8c2d95446d5303a1b0620f.tar.bz2 sssd-4f88dcb91128aae87c8c2d95446d5303a1b0620f.zip |
Fix some more return paths using uninitalized ret
Diffstat (limited to 'server/responder')
-rw-r--r-- | server/responder/nss/nsssrv_cmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/responder/nss/nsssrv_cmd.c b/server/responder/nss/nsssrv_cmd.c index 5fd6369b..cf491ccf 100644 --- a/server/responder/nss/nsssrv_cmd.c +++ b/server/responder/nss/nsssrv_cmd.c @@ -414,7 +414,7 @@ static void nss_cmd_getpwnam_callback(void *ptr, int status, default: DEBUG(1, ("getpwnam call returned more than one result !?!\n")); - ret = nss_cmd_send_error(cmdctx, ret); + ret = nss_cmd_send_error(cmdctx, ENOENT); if (ret != EOK) { NSS_CMD_FATAL_ERROR(cctx); } @@ -771,7 +771,7 @@ static void nss_cmd_getpwuid_callback(void *ptr, int status, default: DEBUG(1, ("getpwnam call returned more than one result !?!\n")); - ret = nss_cmd_send_error(cmdctx, ret); + ret = nss_cmd_send_error(cmdctx, ENOENT); if (ret != EOK) { NSS_CMD_FATAL_ERROR(cctx); } @@ -2957,7 +2957,7 @@ static void nss_cmd_getinit_callback(void *ptr, int status, default: DEBUG(1, ("getpwnam call returned more than one result !?!\n")); - ret = nss_cmd_send_error(cmdctx, ret); + ret = nss_cmd_send_error(cmdctx, ENOENT); if (ret != EOK) { NSS_CMD_FATAL_ERROR(cctx); } |