Explorar el Código

Fix exception in Candidate::changeAddress

Paul-Louis Ageneau hace 2 meses
padre
commit
d5ba5f767c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/candidate.cpp

+ 1 - 1
src/candidate.cpp

@@ -145,7 +145,7 @@ void Candidate::changeAddress(string addr, string service) {
 	mPort = 0;
 
 	if (!resolve(ResolveMode::Simple))
-		throw std::invalid_argument("Invalid candidate address \"" + addr + ":" + service + "\"");
+		throw std::invalid_argument("Invalid candidate address \"" + mNode + ":" + mService + "\"");
 }
 
 bool Candidate::resolve(ResolveMode mode) {