From: Samuel Bronson Date: Sun, 24 Jun 2012 09:43:09 +0000 (+0800) Subject: * emacsclient.c (set_local_socket): Fix a compiler warning. X-Git-Tag: emacs-24.2.90~1199^2~371 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dd1ff7c09a9a1392e66156da667112cc1afadcee;p=emacs.git * emacsclient.c (set_local_socket): Fix a compiler warning. Fixes: debbugs:7838 --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 571f98b8a8d..e3232a46f3c 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2012-06-24 Samuel Bronson (tiny change) + + * emacsclient.c (set_local_socket): Fix compiler warning (Bug#7838). + 2012-06-22 Paul Eggert Support higher-resolution time stamps (Bug#9000). diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 29504445407..f8e81256101 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -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