From 68404435b6248bf3d94da76abe03a30fffef677c Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Sun, 17 Jan 2016 20:19:26 +0100 Subject: [PATCH] Fixes b8d1d79224abfdb3a05874237395aadd156986d2 --- minissdpd/showminissdpdnotif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/minissdpd/showminissdpdnotif.c b/minissdpd/showminissdpdnotif.c index 9954c31..679cd40 100644 --- a/minissdpd/showminissdpdnotif.c +++ b/minissdpd/showminissdpdnotif.c @@ -69,6 +69,7 @@ int main(int argc, char * * argv) break; } else if(n == 0) { printf("Socket closed\n"); + break; } printf("%d bytes read\n", (int)n); printresponse(buffer, (int)n);