src/gnutls.c (init_gnutls_functions): Fix bug#11311.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 23 Apr 2012 23:15:08 +0000 (01:15 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 23 Apr 2012 23:15:08 +0000 (01:15 +0200)
The value of :loaded-from is now a cons.

src/ChangeLog
src/gnutls.c

index 8cb5202..73e54c2 100644 (file)
@@ -1,3 +1,8 @@
+2012-04-23  Juanma Barranquero  <lekktu@gmail.com>
+
+       * gnutls.c (init_gnutls_functions): The value of :loaded-from is
+       now a cons (bug#11311).
+
 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
 
        Do not create empty overlays with the evaporate property (Bug#9642).
index 70eea3b..09268ae 100644 (file)
@@ -201,7 +201,7 @@ init_gnutls_functions (Lisp_Object libraries)
   max_log_level = global_gnutls_log_level;
 
   GNUTLS_LOG2 (1, max_log_level, "GnuTLS library loaded:",
-              SDATA (Fget (Qgnutls_dll, QCloaded_from)));
+              SDATA (XCAR (Fget (Qgnutls_dll, QCloaded_from))));
   return 1;
 }
 
@@ -419,7 +419,7 @@ emacs_gnutls_read (struct Lisp_Process *proc, char *buf, EMACS_INT nbyte)
         {
           proc->gnutls_handshakes_tried++;
           emacs_gnutls_handshake (proc);
-          GNUTLS_LOG2i (5, log_level, "Retried handshake", 
+          GNUTLS_LOG2i (5, log_level, "Retried handshake",
                         proc->gnutls_handshakes_tried);
           return -1;
         }