git://developer.intra2net.com
/
libt2n
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
libt2n: (gerd) set additional non-blocking options, not really needed but a safety...
[libt2n]
/
src
/
command_server.cpp
diff --git
a/src/command_server.cpp
b/src/command_server.cpp
index
91011fd
..
e41d41b
100644
(file)
--- a/
src/command_server.cpp
+++ b/
src/command_server.cpp
@@
-55,6
+55,9
@@
void command_server::send_hello(unsigned int conn_id)
{
server_connection* sc=s.get_connection(conn_id);
+ if (!sc)
+ return; // connection not existing, so no hello
+
std::ostringstream hello;
hello << "T2Nv" << PROTOCOL_VERSION << ';';