diff options
Diffstat (limited to 'src/AFC.c')
| -rw-r--r-- | src/AFC.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -715,9 +715,9 @@ int afc_write_file(AFClient *client, AFCFile *file, const char *data, int length | |||
| 715 | if (!client ||!client->afc_packet || !client->connection || !file) return -1; | 715 | if (!client ||!client->afc_packet || !client->connection || !file) return -1; |
| 716 | 716 | ||
| 717 | afc_lock(client); | 717 | afc_lock(client); |
| 718 | 718 | ||
| 719 | if (debug) fprintf(stderr, "afc_write_file: Write length: %i\n", length); | 719 | if (debug) fprintf(stderr, "afc_write_file: Write length: %i\n", length); |
| 720 | 720 | ||
| 721 | // Divide the file into segments. | 721 | // Divide the file into segments. |
| 722 | for (i = 0; i < segments; i++) { | 722 | for (i = 0; i < segments; i++) { |
| 723 | // Send the segment | 723 | // Send the segment |
