git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f23c7
)
s3:loadparm: add support for P_BYTES to print_parameter() - fix build warning.
author
Michael Adam
<obnox@samba.org>
Thu, 21 Jul 2011 15:05:46 +0000
(17:05 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 21 Jul 2011 15:24:17 +0000
(17:24 +0200)
source3/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source3/param/loadparm.c
b/source3/param/loadparm.c
index 8b9d7d96822ca56919d4538d4f9ac28678f152d0..afa1bf06a6c438d80d1e2b8444e45bc961bbb12a 100644
(file)
--- a/
source3/param/loadparm.c
+++ b/
source3/param/loadparm.c
@@
-7548,6
+7548,7
@@
static void print_parameter(struct parm_struct *p, void *ptr, FILE * f)
break;
case P_INTEGER:
+ case P_BYTES:
fprintf(f, "%d", *(int *)ptr);
break;