]> git.sesse.net Git - cubemap/commitdiff
Identify UDPInput error messages by the stream, too.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 15 Apr 2013 23:08:01 +0000 (01:08 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 15 Apr 2013 23:08:01 +0000 (01:08 +0200)
udpinput.cpp

index 3a8beffeabcc8fcfd4aff48e2694f5aaa79603dd..ed53edeea073604d93de240ffea6b5c7d04d323d 100644 (file)
@@ -85,7 +85,8 @@ void UDPInput::do_work()
                        int port_num = atoi(port.c_str());
                        sock = create_server_socket(port_num, UDP_SOCKET);
                        if (sock == -1) {
-                               log(WARNING, "UDP socket creation failed. Waiting 0.2 seconds and trying again...");
+                               log(WARNING, "[%s] UDP socket creation failed. Waiting 0.2 seconds and trying again...",
+                                            stream_id.c_str());
                                usleep(200000);
                                continue;
                        }