oops, missed a file on last commit.

This commit is contained in:
gardners 2012-01-12 16:48:19 +10:30
parent bf9f8559f1
commit 92968394e5

View File

@ -304,15 +304,19 @@ int overlay_rhizome_saw_advertisements(int i,overlay_frame *f, long long now)
manifest_length,RHIZOME_VERIFY);
if (m->errors) {
if (debug&DEBUG_RHIZOME) fprintf(stderr,"Verifying manifest %s revealed errors -- not storing.\n",manifest_id);
rhizome_manifest_free(m);
} else {
if (debug&DEBUG_RHIZOME) fprintf(stderr,"Verifying manifest %s revealed no errors -- will try to store.\n",manifest_id);
/* Add manifest to import queue. Challenge here is that we need to know
the IPv4 address of the peer */
rhizome_queue_manifest_import(m);
WHY("Doesn't provide IPv4 address of sender of frame");
if (rhizome_queue_manifest_import(m,f->recvaddr))
rhizome_manifest_free(m);
}
rhizome_manifest_free(m);
}
else
rhizome_manifest_free(m);
ofs+=manifest_length;
}