[Tkabber-dev] r1358 - branches/xml-import-export/plugins/roster

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Tue Jan 29 18:21:16 MSK 2008


Author: kostix
Date: 2008-01-29 18:21:15 +0300 (Tue, 29 Jan 2008)
New Revision: 1358

Modified:
   branches/xml-import-export/plugins/roster/annotations.tcl
Log:
plugins/roster/annotations.tcl: Fixed possible long-standing bug
 with not properly cleaning up possibly existing notes upon reception
 of them from the server.


Modified: branches/xml-import-export/plugins/roster/annotations.tcl
===================================================================
--- branches/xml-import-export/plugins/roster/annotations.tcl	2008-01-29 15:18:22 UTC (rev 1357)
+++ branches/xml-import-export/plugins/roster/annotations.tcl	2008-01-29 15:21:15 UTC (rev 1358)
@@ -35,7 +35,8 @@
 
     if {$res != "OK"} return
 
-    array unset notes *
+    free_notes $connid
+
     foreach xmldata $child {
 	jlib::wrapper:splitxml $xmldata tag vars isempty cdata children
 



More information about the Tkabber-dev mailing list