(opensock): Changed a comment around to better state what the code is actually doing.
This commit is contained in:
		
							parent
							
								
									b11015c2e1
								
							
						
					
					
						commit
						83a1a32f2a
					
				@ -1,4 +1,4 @@
 | 
				
			|||||||
/* $Id: sock.c,v 1.36 2002-05-26 18:51:17 rjkaes Exp $
 | 
					/* $Id: sock.c,v 1.37 2002-05-27 01:57:48 rjkaes Exp $
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Sockets are created and destroyed here. When a new connection comes in from
 | 
					 * Sockets are created and destroyed here. When a new connection comes in from
 | 
				
			||||||
 * a client, we need to copy the socket and the create a second socket to the
 | 
					 * a client, we need to copy the socket and the create a second socket to the
 | 
				
			||||||
@ -93,7 +93,7 @@ opensock(char *ip_addr, uint16_t port)
 | 
				
			|||||||
		return -1;
 | 
							return -1;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Bind to our listening address*/
 | 
						/* Bind to the specified address */
 | 
				
			||||||
	if (config.bind_address) {
 | 
						if (config.bind_address) {
 | 
				
			||||||
		memset(&bind_addr, 0, sizeof(bind_addr));
 | 
							memset(&bind_addr, 0, sizeof(bind_addr));
 | 
				
			||||||
		bind_addr.sin_family = AF_INET;
 | 
							bind_addr.sin_family = AF_INET;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user