mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
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
f6c8530666
commit
9c91b05353
@ -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>
|
2013-04-12 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* modules/pandora_module_factory.cc: Added macro support to all
|
* 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;
|
int num_ips = V_ARRAY(ip_array)->rgsabound[0].cElements;
|
||||||
for (i = 0;i < num_ips;i++) {
|
for (i = 0;i < num_ips;i++) {
|
||||||
if ((i > 0) && (i < num_ips - 1 ))
|
if (i > 0) {
|
||||||
{
|
|
||||||
ret += " , ";
|
ret += " , ";
|
||||||
}
|
}
|
||||||
if (V_VT(&pvArray[i]) == VT_BSTR) {
|
if (V_VT(&pvArray[i]) == VT_BSTR) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user