Fix in segfault 2
This commit is contained in:
		
							parent
							
								
									aca43c48b1
								
							
						
					
					
						commit
						a34a9b69cc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -73,7 +73,7 @@ int main( int argc, char * argv[] ) { | ||||||
|       ringbuf[current_buffer]->number = loopcount; |       ringbuf[current_buffer]->number = loopcount; | ||||||
|       //send all connections what they need, if and when they need it
 |       //send all connections what they need, if and when they need it
 | ||||||
|       for (connIt = connectionList.begin(); connIt != connectionList.end(); connIt++){ |       for (connIt = connectionList.begin(); connIt != connectionList.end(); connIt++){ | ||||||
|         if (!(*connIt).is_connected){connectionList.erase(connIt);} |         if (!(*connIt).is_connected){connectionList.erase(connIt);break;} | ||||||
|         (*connIt).Send(ringbuf, buffers); |         (*connIt).Send(ringbuf, buffers); | ||||||
|       } |       } | ||||||
|       //keep track of buffers
 |       //keep track of buffers
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Thulinma
						Thulinma