fix initialization of simple client
This commit is contained in:
		
							parent
							
								
									f8753fb9f1
								
							
						
					
					
						commit
						433db17083
					
				| @ -66,16 +66,19 @@ int main(int argc, const char *argv[]) | |||||||
|     { |     { | ||||||
|         std::string ip_address; |         std::string ip_address; | ||||||
|         int ip_port, requested_thread_num; |         int ip_port, requested_thread_num; | ||||||
|         bool use_shared_memory = false, trial = false; |         bool use_shared_memory = false, trial_run = false; | ||||||
|         ServerPaths server_paths; |         ServerPaths server_paths; | ||||||
|         if (!GenerateServerProgramOptions(argc, | 
 | ||||||
|                                           argv, |         const unsigned init_result = GenerateServerProgramOptions(argc, | ||||||
|                                           server_paths, |                                                                   argv, | ||||||
|                                           ip_address, |                                                                   server_paths, | ||||||
|                                           ip_port, |                                                                   ip_address, | ||||||
|                                           requested_thread_num, |                                                                   ip_port, | ||||||
|                                           use_shared_memory, |                                                                   requested_thread_num, | ||||||
|                                           trial)) |                                                                   use_shared_memory, | ||||||
|  |                                                                   trial_run); | ||||||
|  | 
 | ||||||
|  |         if (init_result == INIT_FAILED) | ||||||
|         { |         { | ||||||
|             return 0; |             return 0; | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user