more libevent fun. good thing the mac build is broken or I'd've been getting bug reports on this instead :)

This commit is contained in:
Charles Kerr 2007-11-06 23:23:47 +00:00
parent 476de56e45
commit 229102a196
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ saveImpl( struct evbuffer * out, const benc_val_t * val )
break;
case TYPE_STR:
evbuffer_add_printf( out, "i:%*.*s", val->val.i, val->val.i, val->val.i, val->val.s );
evbuffer_add_printf( out, "%i:%s", (int)val->val.i, val->val.s.s );
break;
case TYPE_LIST: