Commit 7764f5e81b0004e81d81a4db4474c1f02373fed7
1 parent
8566feee
don't delete the data after write. The data might be needed in the caller afterw…
…ards, so it's the responsibility of the caller.
Showing
1 changed file
with
0 additions
and
1 deletions
@@ -87,7 +87,6 @@ TR_socketSend(void * _this, TR_RemoteData data) | @@ -87,7 +87,6 @@ TR_socketSend(void * _this, TR_RemoteData data) | ||
87 | ssize_t size; | 87 | ssize_t size; |
88 | 88 | ||
89 | TR_RETCALL(_this, TR_Socket, send, size, data); | 89 | TR_RETCALL(_this, TR_Socket, send, size, data); |
90 | - TR_delete(data); | ||
91 | 90 | ||
92 | if (size < 0) { | 91 | if (size < 0) { |
93 | switch (errno) { | 92 | switch (errno) { |
Please
register
or
login
to post a comment