Quoting [EMAIL PROTECTED] from ml.softs.gtk-gnutella.devel:
:Sorry for the "typo"!
:
:--- src/nodes.c        10 Mar 2004 19:53:54 -0000      1.324
:+++ src/nodes.c        30 Mar 2004 19:52:44 -0000
:@@ -1156,7 +1156,8 @@
:               n->guid = NULL;
:       }
: 
:-      n->status = GTA_NODE_REMOVING;
:+      if (n->status != GTA_NODE_SHUTDOWN)
:+              n->status = GTA_NODE_REMOVING;
:       n->flags &= ~(NODE_F_WRITABLE|NODE_F_READABLE|NODE_F_BYE_SENT);
:       n->last_update = time((time_t *) NULL);
:

I don't understand the purpose of this patch, and I think it could
raise a disaster if applied: because if node_remove() is called whiilst
in SHUTDOWN mode, the node will stay in SHUTDOWN mode, whereas most
of its data structures have been cleared.

Don't you agree?

Raphael


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to