projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
387a996
)
Prints integer values as unsigned numbers. Bug reported by ulf.bremer@gmx.de,
author
cmiller
<cmiller>
Mon, 28 May 2001 14:48:53 +0000
(14:48 +0000)
committer
cmiller
<cmiller>
Mon, 28 May 2001 14:48:53 +0000
(14:48 +0000)
who must have users transferring an impressive >2^15 octets per session.
src/lib/print.c
patch
|
blob
|
history
diff --git
a/src/lib/print.c
b/src/lib/print.c
index
ff8008f
..
ec0d5a8
100644
(file)
--- a/
src/lib/print.c
+++ b/
src/lib/print.c
@@
-115,7
+115,7
@@
int vp_prints_value(char * out, int outlen, VALUE_PAIR *vp, int delimitst)
!= NULL)
a = v->name;
else {
- snprintf(buf, sizeof(buf), "%
d
", vp->lvalue);
+ snprintf(buf, sizeof(buf), "%
u
", vp->lvalue);
a = buf;
}
break;