Suuports clang compiler
[anna.git] / source / diameter.comm / Server.cpp
index 4e9a1fd..43a3b28 100644 (file)
@@ -140,7 +140,7 @@ bool Server::send(const Message* message, int socketId) throw(anna::RuntimeExcep
   bool fixedSocket = (socketId != -1);
   int clientSessions = getNumberOfClientSessions();
 
-  for(register int k = 0; k < clientSessions; k++) {    // try round-robin only over one cycle,
+  for(int k = 0; k < clientSessions; k++) {    // try round-robin only over one cycle,
     // no matter where you are: don't repeat same socket
     if(fixedSocket)
       a_lastUsedResource = a_engine->findClientSession(a_socket.first /*ip*/, a_socket.second /*port*/, socketId); // exception if not found