migration: rename 'file' in MigrationState to 'to_dst_file'
[qemu.git] / migration / tcp.c
index ae80e9443d4188470e00e20b5ad6f55481c0e282..e888a4e490d28c8d0b3c8396fc5155c972f0f099 100644 (file)
@@ -39,11 +39,11 @@ static void tcp_wait_for_connect(int fd, Error *err, void *opaque)
 
     if (fd < 0) {
         DPRINTF("migrate connect error: %s\n", error_get_pretty(err));
-        s->file = NULL;
+        s->to_dst_file = NULL;
         migrate_fd_error(s);
     } else {
         DPRINTF("migrate connect success\n");
-        s->file = qemu_fopen_socket(fd, "wb");
+        s->to_dst_file = qemu_fopen_socket(fd, "wb");
         migrate_fd_connect(s);
     }
 }
This page took 0.023306 seconds and 4 git commands to generate.