Uses the generic way first.

FossilOrigin-Name: 789a2dd288e31291e7ee15f853d625ca649875e763a89b6f3ae158855692f1f1
This commit is contained in:
7u83@mail.ru 2016-04-11 01:23:31 +00:00
parent dc2bfd8a35
commit 30d6247c98
1 changed files with 7 additions and 0 deletions

View File

@ -22,9 +22,16 @@
#include "cw.h"
#include "log.h"
#include "dbg.h"
int cw_put_mbag_item(uint8_t * dst, struct mbag_item *item)
{
if (item->type->put){
cw_dbg(DBG_X,"User put method to put ");
return item->type->put(item,dst);
}
if (MBAG_STR == item->type ){
return cw_put_data(dst, item->data, strlen((char *) item->data));
}