| 1113 } |
1113 } |
| 1114 |
1114 |
| 1115 /* Need to indicate the prpl is still ready... */ |
1115 /* Need to indicate the prpl is still ready... */ |
| 1116 priv->ready |= PURPLE_XFER_READY_PRPL; |
1116 priv->ready |= PURPLE_XFER_READY_PRPL; |
| 1117 |
1117 |
| 1118 /* |
1118 g_return_if_reached(); |
| 1119 * if we requested 0 bytes it's only normal that end up here |
|
| 1120 * we shouldn't return as we still have something to |
|
| 1121 * write in priv->buffer |
|
| 1122 */ |
|
| 1123 if (s != 0) |
|
| 1124 g_return_if_reached(); |
|
| 1125 } else if (tmp < 0) { |
1119 } else if (tmp < 0) { |
| 1126 purple_debug_error("filetransfer", "Unable to read whole buffer.\n"); |
1120 purple_debug_error("filetransfer", "Unable to read whole buffer.\n"); |
| 1127 purple_xfer_cancel_local(xfer); |
1121 purple_xfer_cancel_local(xfer); |
| 1128 return; |
1122 return; |
| 1129 } |
1123 } |