summaryrefslogtreecommitdiffstats
path: root/libsysutils
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-11-10 15:50:30 -0800
committerElliott Hughes <enh@google.com>2014-11-10 15:50:30 -0800
commitf6b62d0a7d448e2685ef9afd934148943dc25a35 (patch)
treea8a9f0a25040e073367740600523d8277ef088ff /libsysutils
parentaf2cd21d00f16f4915a40004bdbdc2603e958f5a (diff)
downloadsystem_core-f6b62d0a7d448e2685ef9afd934148943dc25a35.zip
system_core-f6b62d0a7d448e2685ef9afd934148943dc25a35.tar.gz
system_core-f6b62d0a7d448e2685ef9afd934148943dc25a35.tar.bz2
Fix formatting in 4df4dfedf6beef891d05d4e80704f5f4a594a885.
Change-Id: I1ad219285cb1f4a39cfe2bdef224b78eff843317
Diffstat (limited to 'libsysutils')
-rw-r--r--libsysutils/src/SocketClient.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsysutils/src/SocketClient.cpp b/libsysutils/src/SocketClient.cpp
index 4ab06b4..8358823 100644
--- a/libsysutils/src/SocketClient.cpp
+++ b/libsysutils/src/SocketClient.cpp
@@ -220,8 +220,9 @@ int SocketClient::sendDataLockedv(struct iovec *iov, int iovcnt) {
sigaction(SIGPIPE, &old_action, &new_action);
- if ( e != 0 )
+ if (e != 0) {
errno = e;
+ }
return ret;
}