[ekg2-commit] ekg2: windows.c (HEAD) [darkjames]

CVS commit cvs w toxygen.net
Śro, 2 Maj 2007, 23:35:27 CEST


Module name:	ekg2
Changes by:	darkjames	2007-05-02 23:35:24

Modified files:
	windows.c

Log message:
nicer.

Index: windows.c
===================================================================
RCS file: /home/cvs/ekg2/ekg/windows.c,v
diff -d -u -r1.82 -r1.83
--- windows.c	2 May 2007 20:57:21 -0000	1.82
+++ windows.c	2 May 2007 21:35:24 -0000	1.83
@@ -925,10 +925,11 @@
 	for (l = sessions; l; l = l->next) {
 		session_t *s = l->data;
 
-		if (w->session == s)
+		if (w->session == s) {
+			l = l->next;
 			break;
+		}
 	}
-	l = l->next;
 
 	if (!(uid = get_uid(w->session, w->target)))	/* try to get old uid, because in w->target we can have nickname, and it could be other person */
 		uid = w->target;


Więcej informacji o liście dyskusyjnej ekg2-commit