adium/adium

Backing out e9b20f65795c, this is no longer necessary.
adium-1.5.11
2014-06-03, Thijs Alkemade
5a62e233115d
Parents 5a28350c3d82
Children 4d093f0a397a
Backing out e9b20f65795c, this is no longer necessary.
--- a/Plugins/Purple Service/libpurple_extensions/ssl-cdsa.c Tue Jun 03 21:04:55 2014 +0200
+++ b/Plugins/Purple Service/libpurple_extensions/ssl-cdsa.c Tue Jun 03 21:11:02 2014 +0200
@@ -231,14 +231,7 @@
bytesRead = 0;
rrtn = read(sock, currData, bytesToGo);
if (rrtn == 0) {
- /* We got an EOF. However, when we have already read some bytes in a previous iteration of this loop,
- * then we should return noErr to make sure CDSA processes all that data.
- * When initLen is still equal to bytesToGo, we haven't read anything, so we can inform CDSA that we're
- * closed.
- */
- if (initLen == bytesToGo) {
- rtn = errSSLClosedGraceful;
- }
+ rtn = errSSLClosedGraceful;
break;
} else if (rrtn < 0) {
/* this is guesswork... */