Uses put_mbag_item now.
FossilOrigin-Name: 75e9b6985b58cf3d6cde889c21dcc6cf37a888b4c4888c247382bab4f2fc3e1d
This commit is contained in:
parent
9f15b14d74
commit
3671b0cbe9
@ -7,7 +7,7 @@
|
|||||||
#include "dbg.h"
|
#include "dbg.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
||||||
|
/*
|
||||||
int cw_put_item(uint8_t * dst, struct mbag_item *item)
|
int cw_put_item(uint8_t * dst, struct mbag_item *item)
|
||||||
{
|
{
|
||||||
if (MBAG_STR == item->type ){
|
if (MBAG_STR == item->type ){
|
||||||
@ -42,6 +42,8 @@ int cw_put_item(uint8_t * dst, struct mbag_item *item)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
int cw_out_generic(struct conn *conn, struct cw_action_out *a, uint8_t * dst) // ,struct mbag_item * item)
|
int cw_out_generic(struct conn *conn, struct cw_action_out *a, uint8_t * dst) // ,struct mbag_item * item)
|
||||||
{
|
{
|
||||||
@ -82,7 +84,7 @@ int cw_out_generic(struct conn *conn, struct cw_action_out *a, uint8_t * dst) //
|
|||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
len = cw_put_item(dst + start, item);
|
len = cw_put_mbag_item(dst + start, item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user