Permalink
Browse files

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

  • Loading branch information...
1 parent bf8a29f commit 815aff9a735623dd05d7eccf9d07089cd19fe318 @keithw keithw committed Aug 15, 2012
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 );

0 comments on commit 815aff9

Please sign in to comment.