mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +00:00 
			
		
		
		
	Use socklen_t type for argument for getsockname()
This commit is contained in:
		
							parent
							
								
									a2706176db
								
							
						
					
					
						commit
						4a6f362ee7
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -217,8 +217,12 @@ main(int argc, char** argv, char **envp) | |||
| #if defined(DEC) || defined(sun) || defined(HPUX) | ||||
|  	int asize = sizeof(struct sockaddr); | ||||
| #else | ||||
| # if defined(linux) | ||||
|  	socklen_t asize; | ||||
| # else | ||||
|  	size_t asize = sizeof(struct sockaddr); | ||||
| #endif /* DEC or sun or HPUX */ | ||||
| # endif | ||||
| #endif | ||||
| 	int is_aix = 0; | ||||
| 
 | ||||
| 	int do_garbage_collect = 0; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue