more cleanup up of build files + indentation
diff --git a/aos/common/network/SendSocket.cpp b/aos/common/network/SendSocket.cpp
index 89665dc..78aca79 100644
--- a/aos/common/network/SendSocket.cpp
+++ b/aos/common/network/SendSocket.cpp
@@ -18,24 +18,24 @@
return ret;
}
- if (connect(socket_, &addr_.addr,
+ if (connect(socket_, &addr_.addr,
sizeof(addr_)) < 0) {
LOG(ERROR, "couldn't connect to ip '%s' because of %d: %s\n", robot_ip,
errno, strerror(errno));
last_ret_ = 1;
}
- hold_msg_len_ = 0;
+ hold_msg_len_ = 0;
return last_ret_ = 0;
}
int SendSocket::SendHoldMsg() {
- if (hold_msg_len_ > 0) {
- int val = Send(hold_msg_, hold_msg_len_);
- hold_msg_len_ = 0;
- return val;
- }
- return -1;
+ if (hold_msg_len_ > 0) {
+ int val = Send(hold_msg_, hold_msg_len_);
+ hold_msg_len_ = 0;
+ return val;
+ }
+ return -1;
}
} // namespace aos