aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-02-25 19:56:15 +0200
committerSergey Poznyakoff <gray@gnu.org>2016-02-25 19:56:15 +0200
commita208b5be759d031597425477e10552df77c58fb0 (patch)
treed8c508de4d9e833e5d2ce523b4e4da3764db2e0a /src
parentc9abb69acae95a0136ee1b03dec8b08d9639005e (diff)
downloadpies-a208b5be759d031597425477e10552df77c58fb0.tar.gz
pies-a208b5be759d031597425477e10552df77c58fb0.tar.bz2
Minor fix
Diffstat (limited to 'src')
-rw-r--r--src/piesctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/piesctl.c b/src/piesctl.c
index eecb6f6..c8a25b6 100644
--- a/src/piesctl.c
+++ b/src/piesctl.c
@@ -1621,13 +1621,13 @@ com_start (struct cmdline_parser_state *state)
}
static void
com_restart (struct cmdline_parser_state *state)
{
struct shttp_connection *conn = state->conn;
- assert_eol (state);
+
shttp_io_init (&conn->req);
conn->req.content = parse_condition_to_uri (NULL, default_cond (state), 1);
conn->req.content_length = strlen (conn->req.content);
shttp_process (conn, METH_POST, "/programs");
shttp_print_response_status (conn);
}

Return to:

Send suggestions and report system problems to the System administrator.