2013-04-17 Ramon Novoa <rnovoa@artica.es>

* windows/pandora_wmi.cc: Fixed a bug when concatenating multiple ip
	  addresses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2013-04-17 10:45:28 +00:00
parent 86eaf4700e
commit 7d68b8508d
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-04-17 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Fixed a bug when concatenating multiple ip
addresses.
2013-04-12 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_factory.cc: Added macro support to all

View File

@ -935,8 +935,7 @@ getIPs(VARIANT *ip_array){
}
int num_ips = V_ARRAY(ip_array)->rgsabound[0].cElements;
for (i = 0;i < num_ips;i++) {
if ((i > 0) && (i < num_ips - 1 ))
{
if (i > 0) {
ret += " , ";
}
if (V_VT(&pvArray[i]) == VT_BSTR) {