diff options
author | Herb Lewis <herb@samba.org> | 2002-12-19 19:56:31 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2002-12-19 19:56:31 +0000 |
commit | c26dd35c76e671bd566c709510aa97deb1bf1192 (patch) | |
tree | e3ad660a85df011be1ae606459bcc40e6684a473 /source3/lib/snprintf.c | |
parent | 846b50cd417b392288727ecf948ba4df30a90e6e (diff) | |
download | samba-c26dd35c76e671bd566c709510aa97deb1bf1192.tar.gz samba-c26dd35c76e671bd566c709510aa97deb1bf1192.tar.bz2 samba-c26dd35c76e671bd566c709510aa97deb1bf1192.zip |
merge from 2.2
actually print args for %g and %e
(This used to be commit 47a0ba53fdf52fb4d269b1ff95491e73e47423be)
Diffstat (limited to 'source3/lib/snprintf.c')
-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)); |