summaryrefslogtreecommitdiffstats
path: root/src/AFC.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/AFC.c')
-rw-r--r--src/AFC.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AFC.c b/src/AFC.c
index 67d14f9..06e9952 100644
--- a/src/AFC.c
+++ b/src/AFC.c
@@ -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