summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2002-12-19 19:57:37 +0000
committerHerb Lewis <herb@samba.org>2002-12-19 19:57:37 +0000
commitd81a04b410636ad206fe4ae0970e148d9ef13f84 (patch)
tree2081190c2540a1dd4cc742a219ec488b1c056a80 /source3
parent8191e7aa156744f74750d7f61474cd8798f1e823 (diff)
downloadsamba-d81a04b410636ad206fe4ae0970e148d9ef13f84.tar.gz
samba-d81a04b410636ad206fe4ae0970e148d9ef13f84.tar.bz2
samba-d81a04b410636ad206fe4ae0970e148d9ef13f84.zip
merge from 2.2
actually print args for %g and %e (This used to be commit 077c515ee9d9976a5306c9f99a7bf45c8fc49dc9)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/snprintf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/snprintf.c b/source3/lib/snprintf.c
index cd1e63ce59..1eae2f09b9 100644
--- a/source3/lib/snprintf.c
+++ b/source3/lib/snprintf.c
@@ -341,6 +341,7 @@ static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args
fvalue = va_arg (args, LDOUBLE);
else
fvalue = va_arg (args, double);
+ fmtfp (buffer, &currlen, maxlen, fvalue, min, max, flags);
break;
case 'G':
flags |= DP_F_UP;
@@ -349,6 +350,7 @@ static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args
fvalue = va_arg (args, LDOUBLE);
else
fvalue = va_arg (args, double);
+ fmtfp (buffer, &currlen, maxlen, fvalue, min, max, flags);
break;
case 'c':
dopr_outch (buffer, &currlen, maxlen, va_arg (args, int));