projects
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b62e4fb
)
var renames.
author
Pekka Riikonen
<priikone@silcnet.org>
Sat, 24 Jun 2006 19:35:12 +0000
(19:35 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sat, 24 Jun 2006 19:35:12 +0000
(19:35 +0000)
lib/silcutil/silcbuffmt.c
patch
|
blob
|
history
diff --git
a/lib/silcutil/silcbuffmt.c
b/lib/silcutil/silcbuffmt.c
index 3adc6547b32e0ae0447aec8be272501bfcd54fca..6ba9ac9638a134b7bc6b67150cab6aeee86ce4db 100644
(file)
--- a/
lib/silcutil/silcbuffmt.c
+++ b/
lib/silcutil/silcbuffmt.c
@@
-93,10
+93,10
@@
int silc_buffer_sformat_vp(SilcStack stack, SilcBuffer dst, va_list ap)
if (offst > silc_buffer_len(dst))
goto fail;
silc_buffer_pull(dst, offst);
- len += offst;
+
f
len += offst;
} else {
silc_buffer_push(dst, -(offst));
- len += -(offst);
+
f
len += -(offst);
}
break;
}
@@
-201,7
+201,7
@@
int silc_buffer_sformat_vp(SilcStack stack, SilcBuffer dst, va_list ap)
{
unsigned char *x = va_arg(ap, unsigned char *);
SilcUInt32 tmp_len = va_arg(ap, SilcUInt32);
- if (x && len) {
+ if (x &&
tmp_
len) {
FORMAT_HAS_SPACE(stack, dst, tmp_len);
silc_buffer_put(dst, x, tmp_len);
silc_buffer_pull(dst, tmp_len);