Spotted by coverity
---
filexfer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/filexfer.js b/filexfer.js
index beabfd8..d850db2 100644
--- a/filexfer.js
+++ b/filexfer.js
@@ -81,7 +81,7 @@ function handle_file_drop(e)
e.preventDefault();
for (var i = files.length - 1; i >= 0; i--)
{
- if (files[i].type); // do not copy a directory
+ if (files[i].type) // do not copy a directory
sc.file_xfer_start(files[i]);
}
--
2.8.2
_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel