mirror of git://git.psyc.eu/libpsyc
more test packets & additional testPsyc debug msgs
This commit is contained in:
parent
d4b5ec2867
commit
c5cfa7e119
|
@ -0,0 +1,4 @@
|
|||
|
||||
_message_private
|
||||
OHAI
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
|
|
|
@ -0,0 +1,4 @@
|
|||
22
|
||||
_message_private
|
||||
OHAI
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
:_source psyc://foo.example.com/
|
||||
:_target psyc://bar.example.com/
|
||||
22
|
||||
_message_private
|
||||
OHAI
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
_
|
||||
|
|
|
@ -80,6 +80,8 @@ int test_input (int i, char *recvbuf, size_t nbytes) {
|
|||
value.length = 0;
|
||||
|
||||
do {
|
||||
if (verbose >= 3)
|
||||
printf("\n# buffer = [%.*s]\n# part = %d\n", (int)parsers[i].buffer.length, parsers[i].buffer.ptr, parsers[i].part);
|
||||
// Parse the next part of the packet (a routing/entity modifier or the body)
|
||||
ret = exit_code = psyc_parse(&parsers[i], &oper, &name, &value);
|
||||
if (verbose >= 2)
|
||||
|
|
Loading…
Reference in New Issue