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:
parent
86eaf4700e
commit
7d68b8508d
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue