summaryrefslogtreecommitdiffstats
path: root/server/providers/proxy.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-08-26 16:51:57 -0400
committerSimo Sorce <ssorce@redhat.com>2009-08-27 13:55:22 -0400
commit61684e3e684855a72555c11a6de980b132676067 (patch)
treec006dfbb9eed7afa54d33197111d6416cbc45091 /server/providers/proxy.c
parentaa92e2ab85f14c42dc78a5c07209f58a1ef01538 (diff)
downloadsssd-61684e3e684855a72555c11a6de980b132676067.tar.gz
sssd-61684e3e684855a72555c11a6de980b132676067.tar.xz
sssd-61684e3e684855a72555c11a6de980b132676067.zip
Remove redunant function and always pass attrs.
Diffstat (limited to 'server/providers/proxy.c')
-rw-r--r--server/providers/proxy.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/server/providers/proxy.c b/server/providers/proxy.c
index 2aee533..d361191 100644
--- a/server/providers/proxy.c
+++ b/server/providers/proxy.c
@@ -446,7 +446,7 @@ static void get_pw_name_process(struct tevent_req *subreq)
state->pwd->pw_gid,
state->pwd->pw_gecos,
state->pwd->pw_dir,
- state->pwd->pw_shell);
+ state->pwd->pw_shell, NULL);
if (!subreq) {
tevent_req_error(req, ENOMEM);
return;
@@ -625,7 +625,7 @@ static void get_pw_uid_process(struct tevent_req *subreq)
state->pwd->pw_gid,
state->pwd->pw_gecos,
state->pwd->pw_dir,
- state->pwd->pw_shell);
+ state->pwd->pw_shell, NULL);
if (!subreq) {
tevent_req_error(req, ENOMEM);
return;
@@ -808,7 +808,7 @@ again:
state->pwd->pw_gid,
state->pwd->pw_gecos,
state->pwd->pw_dir,
- state->pwd->pw_shell);
+ state->pwd->pw_shell, NULL);
if (!subreq) {
tevent_req_error(req, ENOMEM);
return;
@@ -949,7 +949,8 @@ again:
state->domain,
state->grp->gr_name,
state->grp->gr_gid,
- (const char **)state->grp->gr_mem);
+ (const char **)state->grp->gr_mem,
+ NULL);
if (!subreq) {
tevent_req_error(req, ENOMEM);
return;
@@ -1142,7 +1143,8 @@ again:
state->domain,
state->grp->gr_name,
state->grp->gr_gid,
- (const char **)state->grp->gr_mem);
+ (const char **)state->grp->gr_mem,
+ NULL);
if (!subreq) {
tevent_req_error(req, ENOMEM);
return;
@@ -1321,7 +1323,8 @@ again:
state->domain,
state->grp->gr_name,
state->grp->gr_gid,
- (const char **)state->grp->gr_mem);
+ (const char **)state->grp->gr_mem,
+ NULL);
if (!subreq) {
tevent_req_error(req, ENOMEM);
return;
@@ -1467,7 +1470,7 @@ static void get_initgr_process(struct tevent_req *subreq)
state->pwd->pw_gid,
state->pwd->pw_gecos,
state->pwd->pw_dir,
- state->pwd->pw_shell);
+ state->pwd->pw_shell, NULL);
if (!subreq) {
tevent_req_error(req, ENOMEM);
return;
@@ -1774,7 +1777,8 @@ again:
state->domain,
state->grp->gr_name,
state->grp->gr_gid,
- (const char **)state->grp->gr_mem);
+ (const char **)state->grp->gr_mem,
+ NULL);
if (!subreq) {
ret = ENOMEM;
goto fail;