diff options
author | Jim McDonough <jmcd@samba.org> | 2003-02-28 03:29:03 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2003-02-28 03:29:03 +0000 |
commit | db47e9450aff5ff5b6853f163d4aab117d1c77aa (patch) | |
tree | 043ff43051aa94ead809cb1ae546f3f1b66bb6b0 /source3 | |
parent | a001b706bd85f40b2b9096af1ab92b135440f184 (diff) | |
download | samba-db47e9450aff5ff5b6853f163d4aab117d1c77aa.tar.gz samba-db47e9450aff5ff5b6853f163d4aab117d1c77aa.tar.bz2 samba-db47e9450aff5ff5b6853f163d4aab117d1c77aa.zip |
cleanup some compiler warnings
(This used to be commit 87cebe797f06fab4a5d0077fd78b2183ff7333a5)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_ads_cldap.c | 6 |
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); |