diff options
author | Herb Lewis <herb@samba.org> | 2002-12-19 19:57:37 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2002-12-19 19:57:37 +0000 |
commit | d81a04b410636ad206fe4ae0970e148d9ef13f84 (patch) | |
tree | 2081190c2540a1dd4cc742a219ec488b1c056a80 /source3 | |
parent | 8191e7aa156744f74750d7f61474cd8798f1e823 (diff) | |
download | samba-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.c | 2 |
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)); |