Don't assert has_remote_addr, because can change between fragments.

This commit is contained in:
Keith Winstein
2012-08-15 23:56:58 +03:00
parent bf8a29f783
commit 815aff9a73
+3 -1
View File
@@ -295,7 +295,9 @@ Connection::Connection( const char *key_str, const char *ip, int port ) /* clien
void Connection::send( string s ) void Connection::send( string s )
{ {
assert( has_remote_addr ); if ( !has_remote_addr ) {
return;
}
Packet px = new_packet( s ); Packet px = new_packet( s );