src/server/daemon/func.c

changeset 54
3a1d5a52adfc
parent 44
3da1f7b6847f
child 84
afd57ce39ec9
equal deleted inserted replaced
53:5ec9abba1027 54:3a1d5a52adfc
72 // TODO: error 72 // TODO: error
73 } 73 }
74 return func; 74 return func;
75 } 75 }
76 76
77 int func_exec (pblock *pb, Session *sn, Request *rq) { 77 int func_exec(pblock *pb, Session *sn, Request *rq) {
78 FuncStruct *func = func_resolve(pb, sn, rq); 78 FuncStruct *func = func_resolve(pb, sn, rq);
79 if(func == NULL) { 79 if(func == NULL) {
80 return REQ_ABORTED; 80 return REQ_ABORTED;
81 } 81 }
82 return func->func(pb, sn, rq); 82 return func->func(pb, sn, rq);

mercurial