| 
					
				 | 
			
			
				@@ -2821,11 +2821,10 @@ options_validate(or_options_t *old_options, or_options_t *options, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  if ((i = parse_authority_type_from_list(options->PublishServerDescriptor, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if ((parse_authority_type_from_list(options->PublishServerDescriptor, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                &options->_PublishServerDescriptor, 1) < 0)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     r = tor_snprintf(buf, sizeof(buf), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "Unrecognized value '%s' for PublishServerDescriptor", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  (char*)smartlist_get(options->PublishServerDescriptor, -i)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "Unrecognized value for PublishServerDescriptor"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     *msg = tor_strdup(r >= 0 ? buf : "internal error"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return -1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 |