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:
97f5b28
)
loadparm: Fix broken lp_ulong utility function
author
Simo Sorce
<idra@samba.org>
Thu, 19 Apr 2012 14:58:39 +0000
(10:58 -0400)
committer
Simo Sorce
<idra@samba.org>
Thu, 19 Apr 2012 22:14:01 +0000
(18:14 -0400)
lib/param/loadparm.c
patch
|
blob
|
history
diff --git
a/lib/param/loadparm.c
b/lib/param/loadparm.c
index 46bae44c54632507eecfcf15fb6facbf9f7eb74b..3ccf4668fcab9e219af390b21caca7fe24c3031f 100644
(file)
--- a/
lib/param/loadparm.c
+++ b/
lib/param/loadparm.c
@@
-1699,11
+1699,11
@@
static int lp_int(const char *s)
/**
* convenience routine to return unsigned long parameters.
*/
-static
int
lp_ulong(const char *s)
+static
unsigned long
lp_ulong(const char *s)
{
if (!s) {
- DEBUG(0,("lp_
int
(%s): is called with NULL!\n",s));
+ DEBUG(0,("lp_
ulong
(%s): is called with NULL!\n",s));
return -1;
}