git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a85390a
)
Fix some compiler warnings.
author
Tim Potter
<tpot@samba.org>
Thu, 13 Dec 2001 00:02:37 +0000
(
00:02
+0000)
committer
Tim Potter
<tpot@samba.org>
Thu, 13 Dec 2001 00:02:37 +0000
(
00:02
+0000)
(This used to be commit
216dff438095781934b57fd097ed118daf5fffa0
)
source3/rpcclient/display_sec.c
patch
|
blob
|
history
diff --git
a/source3/rpcclient/display_sec.c
b/source3/rpcclient/display_sec.c
index 412f9183445b6faaa0e67dc549f032a48b3719e5..277d26f1cf692f294152f57510eca513d5f31916 100644
(file)
--- a/
source3/rpcclient/display_sec.c
+++ b/
source3/rpcclient/display_sec.c
@@
-29,7
+29,6
@@
convert a security permissions into a string
char *get_sec_mask_str(uint32 type)
{
static fstring typestr="";
- int i;
typestr[0] = 0;
@@
-56,7
+55,7
@@
char *get_sec_mask_str(uint32 type)
if (type & DELETE_ACCESS)
fstrcat(typestr, "DELETE_ACCESS ");
- printf("\t\tSpecific bits: 0x%x\n", type&SPECIFIC_RIGHTS_MASK);
+ printf("\t\tSpecific bits: 0x%
l
x\n", type&SPECIFIC_RIGHTS_MASK);
return typestr;
}