summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_ads_cldap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_ads_cldap.c b/source3/utils/net_ads_cldap.c
index d369fbdf50..ad66af0439 100644
--- a/source3/utils/net_ads_cldap.c
+++ b/source3/utils/net_ads_cldap.c
@@ -59,7 +59,7 @@ struct cldap_netlogon_reply {
*/
static unsigned pull_netlogon_string(struct netlogon_string *ret,const char *d)
{
- char *s, *p = (char *)d;
+ char *p = (char *)d;
ZERO_STRUCTP(ret);
@@ -342,8 +342,8 @@ int ads_cldap_netlogon(ADS_STRUCT *ads)
d_print_netlogon_string("Unknown Field", &reply.unk0);
d_printf("NT Version: %d\n", reply.version);
- d_printf("LMNT Token: %0.2x\n", reply.lmnt_token);
- d_printf("LM20 Token: %0.2x\n", reply.lm20_token);
+ d_printf("LMNT Token: %.2x\n", reply.lmnt_token);
+ d_printf("LM20 Token: %.2x\n", reply.lm20_token);
cldap_reply_free(&reply);