[Tkabber-dev] [tclxmpp commit] r88 - * xmpp/bob.tcl: Fixed typo.

codesite-noreply at google.com codesite-noreply at google.com
Fri Mar 13 17:33:14 MSK 2009


Author: sgolovan
Date: Fri Mar 13 06:55:23 2009
New Revision: 88

Modified:
    trunk/ChangeLog
    trunk/xmpp/bob.tcl

Log:
	* xmpp/bob.tcl: Fixed typo.


Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Fri Mar 13 06:55:23 2009
@@ -2,6 +2,8 @@

  	* xmpp/bob.tcl: Removed erroneous cid: prefix from CID values.

+	* xmpp/bob.tcl: Fixed typo.
+
  2009-03-12  Sergei Golovan  <sgolovan at nes.ru>

  	* xmpp/bob.tcl, xmpp/pkgIndex.tcl: Added a simple interface to Bits of

Modified: trunk/xmpp/bob.tcl
==============================================================================
--- trunk/xmpp/bob.tcl	(original)
+++ trunk/xmpp/bob.tcl	Fri Mar 13 06:55:23 2009
@@ -74,7 +74,7 @@
                      return
                  }
                  switch -- $algo {
-                    sha-1 {
+                    sha1 {
                          if {![string equal [sha1::sha1 $data] $hash]} {
                              return
                          }
@@ -171,7 +171,7 @@
  }

  proc ::xmpp::bob::cid {data} {
-    return sha-1+[sha1::sha1 $data]@bob.xmpp.org
+    return sha1+[sha1::sha1 $data]@bob.xmpp.org
  }

  proc ::xmpp::bob::data {type data args} {


More information about the Tkabber-dev mailing list