]> code.delx.au - gnu-emacs/commitdiff
* emacsclient.c (set_local_socket): Fix a compiler warning.
authorSamuel Bronson <naesten@gmail.com>
Sun, 24 Jun 2012 09:43:09 +0000 (17:43 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 24 Jun 2012 09:43:09 +0000 (17:43 +0800)
Fixes: debbugs:7838
lib-src/ChangeLog
lib-src/emacsclient.c

index 571f98b8a8d6b3a97bd368717601650689ee66e4..e3232a46f3c6977481bd51c84d1a904d29ea84dd 100644 (file)
@@ -1,3 +1,7 @@
+2012-06-24  Samuel Bronson  <naesten@gmail.com>  (tiny change)
+
+       * emacsclient.c (set_local_socket): Fix compiler warning (Bug#7838).
+
 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
 
        Support higher-resolution time stamps (Bug#9000).
index 29504445407d99b7c6a4fd66a7983540e4c8b8d2..f8e812561010731b0aff4472626c710bb77f84d2 100644 (file)
@@ -1278,7 +1278,7 @@ set_local_socket (const char *local_socket_name)
             if (n > 0)
               {
                tmpdir = tmpdir_storage = xmalloc (n);
-                confstr (_CS_DARWIN_USER_TEMP_DIR, tmpdir, n);
+               confstr (_CS_DARWIN_USER_TEMP_DIR, tmpdir_storage, n);
               }
             else
 #endif