Fixes a bug in a variable swap

This commit is contained in:
Simone Mainardi 2016-02-25 23:09:26 +01:00
parent 3823dbe39e
commit ea4ffe170f

View file

@ -430,7 +430,7 @@ var populateAppsPerHostsPairTable = function(peer1, peer2){
var kpeer1 = hostkey2hostid(peer1)[0];
var kpeer2 = hostkey2hostid(peer2)[0];
if (kpeer2 > kpeer1){
var tmp = kpeer1;
var tmp = kpeer2;
kpeer2 = kpeer1;
kpeer1 = tmp;
}