summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-09-15 10:37:25 -0400
committerSimo Sorce <ssorce@redhat.com>2009-09-17 09:54:01 -0400
commitbf03904ed607286921d2a65dd66e72335e60c777 (patch)
tree4e2809518818ca12bd1c5b812b711a30fb8f09ab
parente771f877bd33d63150d463128cf46fd01004c393 (diff)
downloadsssd-bf03904ed607286921d2a65dd66e72335e60c777.tar.gz
sssd-bf03904ed607286921d2a65dd66e72335e60c777.tar.bz2
sssd-bf03904ed607286921d2a65dd66e72335e60c777.zip
Fix copy&paste error.
-rw-r--r--server/providers/proxy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/providers/proxy.c b/server/providers/proxy.c
index 1436a63a..8678856a 100644
--- a/server/providers/proxy.c
+++ b/server/providers/proxy.c
@@ -1062,7 +1062,7 @@ static void get_gr_gid_process(struct tevent_req *subreq)
char *buffer;
char *newbuf;
size_t buflen;
- bool delete_user = false;
+ bool delete_group = false;
int ret;
ret = sysdb_transaction_recv(subreq, state, &state->handle);
@@ -1108,14 +1108,14 @@ again:
case NSS_STATUS_NOTFOUND:
- delete_user = true;
+ delete_group = true;
break;
case NSS_STATUS_SUCCESS:
/* gid=0 is an invalid value */
if (state->grp->gr_gid == 0) {
- delete_user = true;
+ delete_group = true;
break;
}
@@ -1144,7 +1144,7 @@ again:
return;
}
- if (delete_user) {
+ if (delete_group) {
subreq = sysdb_delete_group_by_gid_send(state, state->ev,
state->handle,
state->domain,