projects
/
cubemap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2a5d0a
)
Identify UDPInput error messages by the stream, too.
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Mon, 15 Apr 2013 23:08:01 +0000
(
01:08
+0200)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Mon, 15 Apr 2013 23:08:01 +0000
(
01:08
+0200)
udpinput.cpp
patch
|
blob
|
history
diff --git
a/udpinput.cpp
b/udpinput.cpp
index
3a8beff
..
ed53ede
100644
(file)
--- a/
udpinput.cpp
+++ b/
udpinput.cpp
@@
-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;
}