Fix nswering procedure: have to use source resource.
[anna.git] / example / diameter / launcher / Launcher.cpp
index ffc814b..8f3cacd 100644 (file)
@@ -1525,7 +1525,7 @@ void Launcher::eventOperation(const std::string &operation, std::string &respons
     if(getWorkingNode()->logEnabled()) {
       anna::diameter::comm::Server *usedServer = entity->getLastUsedResource();
       anna::diameter::comm::ClientSession *usedClientSession = usedServer ? usedServer->getLastUsedResource() : NULL;
-      std::string detail = usedClientSession ? usedClientSession->asString() : "<null client session>"; // esto no deberia ocurrir
+      std::string detail = usedClientSession ? usedClientSession->asString() : "<null client session>"; // shouldn't happen
       getWorkingNode()->writeLogFile(codecMsg, (success ? "sent2e" : "send2eError"), detail);
     }
   } else if((opType == "burst")) {
@@ -1884,7 +1884,7 @@ void Launcher::eventOperation(const std::string &operation, std::string &respons
     // Detailed log:
     if(getWorkingNode()->logEnabled()) {
       anna::diameter::comm::ServerSession *usedServerSession = localServer->getLastUsedResource();
-      std::string detail = usedServerSession ? usedServerSession->asString() : "<null server session>"; // esto no deberia ocurrir
+      std::string detail = usedServerSession ? usedServerSession->asString() : "<null server session>"; // shouldn't happen
       getWorkingNode()->writeLogFile(codecMsg, (success ? "sent2c" : "send2cError"), detail);
     }
   } else if(opType == "loadxml") {