# HG changeset patch # User Karoly Lorentey # Date 1082376180 0 # Node ID 04f66a874a011d3e139c96db8eb8e24bf96082d4 # Parent 8f4a3987f4a829399ce48e7b87159bc2b4f076d5 In emacsclient, protect the xmitted string from fprintf expansion (Dan Nicolaescu). lib-src/emacsclient.c (quote_argument): Protect the string from fprintf expansion (submitted by Dan Nicolaescu). git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-147 diff -r 8f4a3987f4a8 -r 04f66a874a01 lib-src/emacsclient.c --- a/lib-src/emacsclient.c Mon Apr 19 08:37:31 2004 +0000 +++ b/lib-src/emacsclient.c Mon Apr 19 12:03:00 2004 +0000 @@ -280,7 +280,7 @@ } *q++ = 0; - fprintf (stream, copy); + fprintf (stream, "%s", copy); free (copy); }