Index: uspace/lib/hound/src/protocol.c
===================================================================
--- uspace/lib/hound/src/protocol.c	(revision 493817b0202957659c69ac7b4815be0ce87f0ce7)
+++ uspace/lib/hound/src/protocol.c	(revision 939871aec67b0f8c6f3ccfbc7625ddd112515228)
@@ -139,5 +139,5 @@
 
 static int hound_server_read_data(void *stream);
-static hound_server_iface_t *server_iface;
+static const hound_server_iface_t *server_iface;
 
 void hound_service_set_server_iface(hound_server_iface_t *iface)
@@ -206,6 +206,9 @@
 			break;
 		}
+		case IPC_M_HOUND_STREAM_EXIT:
+			/* Stream exit is only allowed in stream context */
+			async_answer_0(callid, EINVAL);
+			break;
 		case IPC_M_HOUND_CONTEXT_UNREGISTER:
-		case IPC_M_HOUND_STREAM_EXIT:
 		case IPC_M_HOUND_STREAM_DRAIN:
 		default:
