(starttls-negotiate): Avoid the cl.el decf function.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 26 Sep 2010 15:30:44 +0000 (17:30 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 26 Sep 2010 15:30:44 +0000 (17:30 +0200)
lisp/ChangeLog
lisp/net/gnutls.el

index 9219c7c..50fdd4b 100644 (file)
@@ -1,5 +1,7 @@
 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
+
        * net/netrc.el (netrc-store-data): New function.
 
 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
index b4fa4f0..7a2571f 100644 (file)
@@ -82,7 +82,7 @@ CREDENTIALS-FILE is a filename with meaning dependent on CREDENTIALS."
           (n 25000))
       (while (and (not (gnutls-error-fatalp ret))
                   (> n 0))
-        (decf n)
+        (setq n (1- n))
         (gnutls-message-maybe
          (setq ret (gnutls-handshake proc))
          "handshake: %s")