char *result = NULL;
DWORD cbData;
- if (RegOpenKeyEx (predefined, REG_ROOT, 0, KEY_READ, &hrootkey) == ERROR_SUCCESS)
+ if (RegOpenKeyEx (predefined, REG_ROOT, 0, KEY_READ, &hrootkey)
+ == ERROR_SUCCESS)
{
if (RegQueryValueEx (hrootkey, key, NULL, NULL, NULL, &cbData)
== ERROR_SUCCESS)
{
/* Allocate new token. */
++toks;
- new_argv = xrealloc (new_argv, new_argv_size + toks * sizeof (char *));
+ new_argv = xrealloc (new_argv,
+ new_argv_size + toks * sizeof (char *));
/* Skip leading delimiters, and set separator, skipping any
opening quote. */
main_argc = argc;
main_argv = argv;
progname = argv[0];
- message (true, "%s: Sorry, the Emacs server is supported only\n"
- "on systems with Berkeley sockets.\n",
+ message (true, ("%s: Sorry, the Emacs server is supported only\n"
+ "on systems with Berkeley sockets.\n"),
argv[0]);
fail ();
}
/* `stat' failed */
if (saved_errno == ENOENT)
message (true,
- "%s: can't find socket; have you started the server?\n\
-To start the server in Emacs, type \"M-x server-start\".\n",
- progname);
+ ("%s: can't find socket; have you started the server?\n"
+ "%s: To start the server in Emacs,"
+ " type \"M-x server-start\".\n"),
+ progname, progname);
else
message (true, "%s: can't stat %s: %s\n",
progname, server.sun_path, strerror (saved_errno));
}
/* Try connecting, the daemon should have started by now. */
- message (true, "Emacs daemon should have started, trying to connect again\n");
+ message (true,
+ "Emacs daemon should have started, trying to connect again\n");
+
if ((emacs_socket = set_socket (1)) == INVALID_SOCKET)
{
- message (true, "Error: Cannot connect even after starting the Emacs daemon\n");
+ message (true, ("Error: Cannot connect "
+ "even after starting the Emacs daemon\n"));
exit (EXIT_FAILURE);
}
}
if (! (optind < argc || eval || create_frame))
{
- message (true, "%s: file name or argument required\n"
- "Try '%s --help' for more information\n",
+ message (true, ("%s: file name or argument required\n"
+ "Try '%s --help' for more information\n"),
progname, progname);
exit (EXIT_FAILURE);
}