git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
846b50c
)
merge from 2.2
author
Herb Lewis
<herb@samba.org>
Thu, 19 Dec 2002 19:56:31 +0000
(19:56 +0000)
committer
Herb Lewis
<herb@samba.org>
Thu, 19 Dec 2002 19:56:31 +0000
(19:56 +0000)
actually print args for %g and %e
(This used to be commit
47a0ba53fdf52fb4d269b1ff95491e73e47423be
)
source3/lib/snprintf.c
patch
|
blob
|
history
diff --git
a/source3/lib/snprintf.c
b/source3/lib/snprintf.c
index cd1e63ce59fe66504f0b0101509c88bb02f46312..1eae2f09b9bc5a6bf6525fda7336230cc325b291 100644
(file)
--- 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));