diff options
author | Markus Grüneis <gimpf@gimpf.org> | 2010-02-18 09:15:27 +0000 |
---|---|---|
committer | Markus Grüneis <gimpf@gimpf.org> | 2010-02-18 09:15:27 +0000 |
commit | e191eab68d905bfe14e3590a92fa653f0ae2ebce (patch) | |
tree | a5837b067ecab92c645008b537087b0d163ef1ab /src/anyrtpproxy/anyrtpproxy.cpp | |
parent | whitespace only change: unified formatting with "astyle --style=k/r --indent=... (diff) |
non-functional changes only: use standard writing of stdint.h types; still import from boost (compiler compatibility)
Diffstat (limited to 'src/anyrtpproxy/anyrtpproxy.cpp')
-rw-r--r-- | src/anyrtpproxy/anyrtpproxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/anyrtpproxy/anyrtpproxy.cpp b/src/anyrtpproxy/anyrtpproxy.cpp index 22d7494..1daf35b 100644 --- a/src/anyrtpproxy/anyrtpproxy.cpp +++ b/src/anyrtpproxy/anyrtpproxy.cpp @@ -67,12 +67,12 @@ void listener(RtpSession::proto::socket* sock1, RtpSession::proto::socket* sock2 cLog.msg(Log::PRIO_NOTICE) << "listener(" << call_id << "/" << dir << ") started"; try { - Buffer buf(u_int32_t(MAX_PACKET_SIZE)); + Buffer buf(uint32_t(MAX_PACKET_SIZE)); RtpSession::proto::endpoint remote_end; while(1) { buf.setLength(MAX_PACKET_SIZE); - u_int32_t len=0; + uint32_t len=0; if(dir == 1) { len = 0; //sock1->recvFromNonBlocking(buf.getBuf(), buf.getLength(), remote_end, 1000); } else if(dir == 2) { |