summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-09-30 13:24:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-09-30 13:24:13 +0200
commitdef490468df794166ce7bba1ec2d2feb410278ab (patch)
treecfde45635abc13ccaf50710052095666614a7e90 /sal/osl
parent524ce218ea40e0c419367c973cba7b7d677da740 (diff)
osl_getSocketOption shall return the new length
regression introduced with c89f22ffcd4191f7cb8ef0e68adb2a0f0ec6c74e "INTEGRATION: CWS pj72" Change-Id: Icea8bc43e346dbe4cf7cbfdf1176704d52b339f4
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/unx/socket.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/socket.cxx b/sal/osl/unx/socket.cxx
index 02000fbb3474..a2b36ad5985e 100644
--- a/sal/osl/unx/socket.cxx
+++ b/sal/osl/unx/socket.cxx
@@ -2161,7 +2161,7 @@ sal_Int32 SAL_CALL osl_getSocketOption(oslSocket pSocket,
return -1;
}
- return BufferLen;
+ return nOptLen;
}
sal_Bool SAL_CALL osl_setSocketOption(oslSocket pSocket,