|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From 7a855149eaf6dbd336d9defab5b4a9c70b75d5e6 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From: Lukas Nykryn <lnykryn@redhat.com>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Date: Wed, 20 Aug 2014 14:51:27 +0200
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Subject: [PATCH] journal-remote: remove unreachable code
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
src/journal-remote/journal-remote.c | 1 -
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
1 file changed, 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
index aa659d1bd4..7f422bfb37 100644
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
--- a/src/journal-remote/journal-remote.c
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+++ b/src/journal-remote/journal-remote.c
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
@@ -579,7 +579,6 @@ static int request_handler(
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
log_error("MHD_get_connection_info failed: cannot get remote fd");
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
return mhd_respond(connection, MHD_HTTP_INTERNAL_SERVER_ERROR,
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
"Cannot check remote address");
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
- return code;
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
}
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
fd = ci->connect_fd;
|