Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 815aff9a735623dd05d7eccf9d07089cd19fe318 1 parent bf8a29f
@keithw keithw authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/network/network.cc
View
4 src/network/network.cc
@@ -295,7 +295,9 @@ Connection::Connection( const char *key_str, const char *ip, int port ) /* clien
void Connection::send( string s )
{
- assert( has_remote_addr );
+ if ( !has_remote_addr ) {
+ return;
+ }
Packet px = new_packet( s );
Please sign in to comment.
Something went wrong with that request. Please try again.