Skip to content
Snippets Groups Projects
Commit 6f09f69f authored by Lev Walkin's avatar Lev Walkin
Browse files

oops

parent 21c91e02
No related branches found
No related tags found
No related merge requests found
...@@ -34,8 +34,8 @@ check(int type, char *tagname, char *xmlbuf, char *verify) { ...@@ -34,8 +34,8 @@ check(int type, char *tagname, char *xmlbuf, char *verify) {
rc = decoder(0, td, (void **)&st, tagname, xmlbuf, xmllen); rc = decoder(0, td, (void **)&st, tagname, xmlbuf, xmllen);
printf("[%s] => [%s]:%d vs [%s]:%d, code %d\n", printf("[%s] => [%s]:%d vs [%s]:%d, code %d\n",
xmlbuf, xmlbuf,
st ? st->buf : 0, st ? st->size : 0, st ? st->buf : "", st ? st->size : 0,
verify, verlen, rc.code); verify ? verify : "", verlen, rc.code);
if(verify) { if(verify) {
assert(rc.code == RC_OK); assert(rc.code == RC_OK);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment