From c29bd72eb07e6b2e518e9b1e0447edf7ce74dfc3 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Sun, 26 Oct 2008 20:48:57 +0000 Subject: [PATCH] No need to create string before showing error message. SVN revision: 37170 --- src/bin/e_ipc.c | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/src/bin/e_ipc.c b/src/bin/e_ipc.c index 5392317d2..6dc779c89 100644 --- a/src/bin/e_ipc.c +++ b/src/bin/e_ipc.c @@ -44,27 +44,21 @@ e_ipc_init(void) } else { - snprintf(buf, sizeof(buf), - _("Possible IPC Hack Attempt. The IPC socket\n" - "directory already exists BUT has permissions\n" - "that are too leanient (must only be readable\n" - "and writable by the owner, and nobody else)\n" - "or is not owned by you. Please check:\n" - "%s/enlightenment-%s\n"), - tmp, user); - e_error_message_show(buf); + e_error_message_show(_("Possible IPC Hack Attempt. The IPC socket\n" + "directory already exists BUT has permissions\n" + "that are too leanient (must only be readable\n" "and writable by the owner, and nobody else)\n" + "or is not owned by you. Please check:\n" + "%s/enlightenment-%s\n"), tmp, user); return 0; } } else { - snprintf(buf, sizeof(buf), - _("The IPC socket directory cannot be created or\n" - "examined.\n" - "Please check:\n" - "%s/enlightenment-%s\n"), - tmp, user); - e_error_message_show(buf); + e_error_message_show(_("The IPC socket directory cannot be created or\n" + "examined.\n" + "Please check:\n" + "%s/enlightenment-%s\n"), + tmp, user); return 0; } }