mirror of
git://git.psyced.org/git/psyclpc
synced 2024-08-15 03:20:16 +00:00
pkg-psyc: added stateop param
This commit is contained in:
parent
86f45a5d4f
commit
2ecc1aa9bd
1 changed files with 3 additions and 2 deletions
|
@ -112,7 +112,7 @@ fill_header_from_mapping (svalue_t *key, svalue_t *val, void *extra) {
|
|||
if (m->num_values > 1)
|
||||
oper = val[1].u.number;
|
||||
if (!oper)
|
||||
oper = C_GLYPH_OPERATOR_SET;
|
||||
oper = PSYC_OPERATOR_SET;
|
||||
|
||||
switch (val->type) {
|
||||
case T_STRING:
|
||||
|
@ -263,7 +263,8 @@ f_psyc_render(svalue_t *sp) {
|
|||
headers[PACKET_ROUTING].lines,
|
||||
headers[PACKET_ENTITY].modifiers,
|
||||
headers[PACKET_ENTITY].lines,
|
||||
meth, mlen, body, blen,
|
||||
meth, mlen, body, blen,
|
||||
PSYC_STATE_NOOP, // TODO: add support for state ops
|
||||
PSYC_PACKET_CHECK_LENGTH);
|
||||
|
||||
#ifdef DEBUG
|
||||
|
|
Loading…
Reference in a new issue