[gupnp/wip/phako/libsoup3: 4/6] context: Remove useless check in host_path_handler
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp/wip/phako/libsoup3: 4/6] context: Remove useless check in host_path_handler
- Date: Tue, 28 Dec 2021 12:51:49 +0000 (UTC)
commit 7f84bf85aff6be2d2e32182c2eabb8e400894d89
Author: Jens Georg <mail jensge org>
Date: Tue Dec 28 10:43:49 2021 +0100
context: Remove useless check in host_path_handler
libgupnp/gupnp-context.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/libgupnp/gupnp-context.c b/libgupnp/gupnp-context.c
index c2ce418..2b73239 100644
--- a/libgupnp/gupnp-context.c
+++ b/libgupnp/gupnp-context.c
@@ -1105,10 +1105,7 @@ host_path_handler (G_GNUC_UNUSED SoupServer *server,
g_free (length);
} else {
- soup_server_message_set_status (msg,
- SOUP_STATUS_METHOD_NOT_ALLOWED,
- "Method not allowed");
-
+ g_assert_not_reached ();
goto DONE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]