Skip to content

Commit

Permalink
Minor log adjustment after libnice 0.1.4 fallback (#858)
Browse files Browse the repository at this point in the history
  • Loading branch information
kekkokk authored and jcague committed Apr 19, 2017
1 parent a1368f7 commit 7abd4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erizo/src/erizo/NiceConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ int NiceConnection::sendData(unsigned int compId, const void* buf, int len) {
if (this->checkIceState() == NICE_READY) {
val = lib_nice_->NiceAgentSend(agent_, 1, compId, len, reinterpret_cast<const gchar*>(buf));
}
if (val != 1) {
if (val != len) {
ELOG_DEBUG("%s message: Sending less data than expected, sent: %d, to_send: %d", toLog(), val, len);
}
return val;
Expand Down

0 comments on commit 7abd4f8

Please sign in to comment.