migration: fix warning for source_return_path_thread
commit568b01caf38a5e156c2dc58ea002daa4e2dcab20
authorPeter Xu <peterx@redhat.com>
Wed, 9 Mar 2016 06:12:12 +0000 (9 14:12 +0800)
committerAmit Shah <amit.shah@redhat.com>
Fri, 11 Mar 2016 07:28:37 +0000 (11 12:58 +0530)
tree8b68a4abca8efc3a136943b733dbb5d796eef36a
parenta648c137383d84bc4f95696e5293978d9541a26e
migration: fix warning for source_return_path_thread

max_len is not necessary, while it brings a warning during compilation
when specify "-Wstack-usage=1000000". Replacing using sizeof().

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <1457503932-31763-1-git-send-email-peterx@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
migration/migration.c