[PATCH 1/1] Don't override 0 int value params with defvalue

Amin Azez azez at ufomechanic.net
Fri Jul 4 09:58:43 GMT 2008


We should only use defvalue of there was no param,
not if it was 0.

This was probably cut-n-paste error from string
value params where null return would want to
be replaced.

Signed-off-by: Sam Liddicott <sam at liddicott.com>
---
 source/param/share_classic.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1600353676aae9571f580874abe8f3b86f642cf8.diff
Type: text/x-patch
Size: 419 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080704/1e6b6989/1600353676aae9571f580874abe8f3b86f642cf8.bin


More information about the samba-technical mailing list