From db47e9450aff5ff5b6853f163d4aab117d1c77aa Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Fri, 28 Feb 2003 03:29:03 +0000 Subject: cleanup some compiler warnings (This used to be commit 87cebe797f06fab4a5d0077fd78b2183ff7333a5) --- source3/utils/net_ads_cldap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/utils/net_ads_cldap.c') 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); -- cgit