(quote_file_name): Pass COPY thru %s to output it.
authorRichard M. Stallman <rms@gnu.org>
Sat, 17 Jul 2004 14:27:24 +0000 (14:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 17 Jul 2004 14:27:24 +0000 (14:27 +0000)
lib-src/emacsclient.c

index 0698691..24dcdff 100644 (file)
@@ -203,7 +203,7 @@ quote_file_name (name, stream)
     }
   *q++ = 0;
 
-  fprintf (stream, copy);
+  fprintf (stream, "%s", copy);
 
   free (copy);
 }