diff options
| author | Albert Astals Cid <aacid@kde.org> | 2017-05-27 00:54:56 +0200 |
|---|---|---|
| committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2017-06-08 04:00:54 +0000 |
| commit | f78a189da5d9e13a96a52b9d17cdc80df06ed8c8 (patch) | |
| tree | 58001f219d2b107d8557cff4f84ce0074213b6e2 /src/corelib/json/qjsonvalue.cpp | |
| parent | 678ff94ff29db1b0faa4aa8d486d4df544ce3247 (diff) | |
QSSLSocket::readData return -1 when socket is not connected
As QAbstractSocket::readData does and as the documentation of QIODevice says
"this function returns -1 in those cases (that is, reading on a closed
socket..."
Change-Id: I1e64673f6a6d792a640bd6cb28b2bb5a0f18dc36
Reviewed-by: Aleix Pol
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/json/qjsonvalue.cpp')
0 files changed, 0 insertions, 0 deletions
