summaryrefslogtreecommitdiff
path: root/src/anyrtpproxy/commandHandler.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2014-06-28 18:59:22 +0000
committerChristian Pointner <equinox@anytun.org>2014-06-28 18:59:22 +0000
commitb35d79b1feee163600305db7dcde9b4a7150f1cc (patch)
tree19ee96cfb175829218a7b7dcde74f963aaed2a2e /src/anyrtpproxy/commandHandler.cpp
parentupdated changelog (diff)
while(1) vs. for(;;)
Diffstat (limited to 'src/anyrtpproxy/commandHandler.cpp')
-rw-r--r--src/anyrtpproxy/commandHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/anyrtpproxy/commandHandler.cpp b/src/anyrtpproxy/commandHandler.cpp
index fc84c6f..1578659 100644
--- a/src/anyrtpproxy/commandHandler.cpp
+++ b/src/anyrtpproxy/commandHandler.cpp
@@ -81,7 +81,7 @@ void CommandHandler::run(void* s)
proto::endpoint remote_end;
int len;
- while(1) {
+ for(;;) {
buf.setLength(MAX_COMMAND_LENGTH);
len = self->control_sock_.receive_from(boost::asio::buffer(buf.getBuf(), buf.getLength()), remote_end);