summaryrefslogtreecommitdiffstats
path: root/server/responder/pam/pamsrv_cmd.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-04-07 12:11:48 -0400
committerSimo Sorce <ssorce@redhat.com>2009-04-07 14:33:16 -0400
commite8a7526b06acf4af322fdab593c8bafbd9f4a103 (patch)
treea2f910fca3d9d3ef0b558fbe8ab5823c7a0b4f23 /server/responder/pam/pamsrv_cmd.c
parent65f90758d4df5581bc94746d47a1548ed8ff738b (diff)
downloadsssd-e8a7526b06acf4af322fdab593c8bafbd9f4a103.tar.gz
sssd-e8a7526b06acf4af322fdab593c8bafbd9f4a103.tar.xz
sssd-e8a7526b06acf4af322fdab593c8bafbd9f4a103.zip
Clean up warnings in SSSD
Diffstat (limited to 'server/responder/pam/pamsrv_cmd.c')
-rw-r--r--server/responder/pam/pamsrv_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/responder/pam/pamsrv_cmd.c b/server/responder/pam/pamsrv_cmd.c
index 8f74e96f6..22a2b85de 100644
--- a/server/responder/pam/pamsrv_cmd.c
+++ b/server/responder/pam/pamsrv_cmd.c
@@ -3,6 +3,7 @@
#include "util/util.h"
#include "confdb/confdb.h"
+#include "responder/common/responder_packet.h"
#include "responder/pam/pam_LOCAL_domain.h"
#include "responder/pam/pamsrv.h"
@@ -22,7 +23,7 @@ static int pam_parse_in_data(struct sss_names_ctx *snctx,
for (start = end; end < last; end++) if (body[end] == '\0') break;
if (body[end++] != '\0') return EINVAL;
- ret = sss_parse_name(pd, snctx, &body[start], &pd->domain, &pd->user);
+ ret = sss_parse_name(pd, snctx, (char *)&body[start], &pd->domain, &pd->user);
if (ret != EOK) return ret;
for (start = end; end < last; end++) if (body[end] == '\0') break;
@@ -100,7 +101,6 @@ static void pam_reply_delay(struct tevent_context *ev, struct tevent_timer *te,
static void pam_reply(struct pam_data *pd)
{
struct cli_ctx *cctx;
- struct sss_cmd_ctx *rctx;
uint8_t *body;
size_t blen;
int ret;