summaryrefslogtreecommitdiff
path: root/src/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http.c')
-rw-r--r--src/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http.c b/src/http.c
index c3dea6b..16c7e25 100644
--- a/src/http.c
+++ b/src/http.c
@@ -371,8 +371,8 @@ spawn_httpd (int port, pid_t *pid_out)
got_pidfile = FALSE;
error = NULL;
for (i = 0; i < 5; i++) {
- if (error != NULL)
- g_error_free (error);
+ if (error != NULL)
+ g_error_free (error);
error = NULL;
if (g_file_get_contents (pid_filename, &pidfile, NULL, &error)) {
got_pidfile = TRUE;