diff options
| author | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2012-12-27 14:44:28 +0000 |
|---|---|---|
| committer | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2012-12-27 14:44:28 +0000 |
| commit | 7e7751ea8182a2a467f8254a460e405d9303e00a (patch) | |
| tree | 9de2d963e2937b77999cea4c5d9284d737bddb3c /PICA_node.c | |
| parent | 11e1161d05f3c78728776cef301a304534baea21 (diff) | |
| download | pica-pica-7e7751ea8182a2a467f8254a460e405d9303e00a.tar.gz pica-pica-7e7751ea8182a2a467f8254a460e405d9303e00a.zip | |
bugfixes: invalid argument to nodewait_list_delete() and minor protocol version was written in the same byte as major version
git-svn-id: svn://localhost/project_picapica/trunk@216 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'PICA_node.c')
| -rwxr-xr-x | PICA_node.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/PICA_node.c b/PICA_node.c index ad4307d..9a8264a 100755 --- a/PICA_node.c +++ b/PICA_node.c @@ -2573,6 +2573,7 @@ struct nodewait *kill_ptr = 0, *nw = nodewait_list; while(nw) { + PICA_debug3("checking nodewait pointer %p", nw); if (PICA_NODEWAIT_FINISHED_OK == nw->state) { struct nodelink *nlp; @@ -2586,7 +2587,7 @@ while(nw) if (mp) { mp->tail[0] = PICA_PROTO_VER_HIGH; - mp->tail[0] = PICA_PROTO_VER_LOW; + mp->tail[1] = PICA_PROTO_VER_LOW; } } kill_ptr = nw; @@ -2602,7 +2603,7 @@ while(nw) if (kill_ptr) { - nodewait_list_delete(nw); + nodewait_list_delete(kill_ptr); kill_ptr = 0; } } |
