aboutsummaryrefslogtreecommitdiff
path: root/src/piesctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/piesctl.c')
-rw-r--r--src/piesctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/piesctl.c b/src/piesctl.c
index ff205d5..f799ff4 100644
--- a/src/piesctl.c
+++ b/src/piesctl.c
@@ -226,7 +226,6 @@ static void
config_help (void)
{
static char docstring[] =
- /* TRANSLATORS: do not translate words between ` and ' */
N_("Configuration file structure for piesctl.\n"
"For more information, use `info piesctl configuration'.");
grecs_print_docstring (docstring, 0, stdout);
@@ -507,7 +506,7 @@ shttp_connect (struct pies_url *url, struct grecs_sockaddr *source_addr)
fd = socket (addr.s.sa_family, SOCK_STREAM, 0);
if (fd == -1)
{
- grecs_error (NULL, 0, _("%s: unable to create new socket: %s"),
+ grecs_error (NULL, 0, _("%s: unable to create socket: %s"),
url->string, strerror(errno));
return NULL;
}
@@ -676,6 +675,7 @@ shttp_request_send (struct shttp_connection *conn, int method, char const *uri)
conn->fp);
if (s != conn->req.content_length)
{
+ //FIXME: ngettext
grecs_error (NULL, 0, _("wrote %lu of %lu bytes of content"),
(unsigned long) s, conn->req.content_length);
exit (EX_UNAVAILABLE);

Return to:

Send suggestions and report system problems to the System administrator.