Merge branch 'master' of github.com:urbit/urbit

This commit is contained in:
C. Guy Yarvin 2014-03-13 17:49:47 -07:00
commit c0acbd1b39
2 changed files with 4 additions and 2 deletions

View File

@ -90,7 +90,7 @@ _http_heds_free(u2_hhed* hed_u)
static void
_http_bods_free(u2_hbod* bod_u)
{
if ( bod_u ) {
while ( bod_u ) {
u2_hbod* nex_u = bod_u->nex_u;
free(bod_u);

View File

@ -22,7 +22,7 @@
#endif
/* u2_sist_pack(): write a blob to disk, retaining.
/* u2_sist_pack(): write a blob to disk, transferring.
*/
c3_w
u2_sist_pack(u2_reck* rec_u, c3_w tem_w, c3_w typ_w, c3_w* bob_w, c3_w len_w)
@ -73,6 +73,8 @@ u2_sist_pack(u2_reck* rec_u, c3_w tem_w, c3_w typ_w, c3_w* bob_w, c3_w len_w)
}
lug_u->len_d += (c3_d)(lar_u.len_w + c3_wiseof(lar_u));
free(bob_w);
return rec_u->ent_w;
}