improve file receiver

This commit is contained in:
lixianjing 2019-11-25 21:52:28 -08:00
parent 7201d2586e
commit 5942a77391

View File

@ -38,6 +38,7 @@ file_receiver_t* file_receiver_create(uint32_t block_size, const char* productid
if (productid != NULL) {
tk_strncpy(receiver->productid, productid, TK_NAME_LEN);
}
emitter_init(&(receiver->emitter));
return receiver;
}