Suppress compiler warning in CreateClientRequestPacketUlaGua.
It is a static function and is called with AF_INET6,
so there is no real problem.
(cherry picked from commit 8e39b2af85)
			
			
This commit is contained in:
		 Yoichi NAKAYAMA
					Yoichi NAKAYAMA
				
			
				
					committed by
					
						 Marcelo Roberto Jimenez
						Marcelo Roberto Jimenez
					
				
			
			
				
	
			
			
			 Marcelo Roberto Jimenez
						Marcelo Roberto Jimenez
					
				
			
						parent
						
							d56a68d771
						
					
				
				
					commit
					12b88a9fbf
				
			| @@ -412,6 +412,8 @@ static int CreateClientRequestPacketUlaGua( | ||||
| 	} else if (AddressFamily == AF_INET6) { | ||||
| 		rc = snprintf(TempBuf, sizeof(TempBuf), "HOST: [%s]:%d\r\n", | ||||
| 			SSDP_IPV6_SITELOCAL, SSDP_PORT); | ||||
| 	} else { | ||||
| 		return UPNP_E_INVALID_ARGUMENT; | ||||
| 	} | ||||
| 	if (rc < 0 || (unsigned int) rc >= sizeof(TempBuf)) | ||||
| 		return UPNP_E_INTERNAL_ERROR; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user