2013-06-25 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: When concatenating IP addresses, do not output a comma unless the IP can be parsed. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c49369dab8
commit
c85826ec7c
|
@ -1,3 +1,8 @@
|
|||
2013-06-25 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* windows/pandora_wmi.cc: When concatenating IP addresses, do not
|
||||
output a comma unless the IP can be parsed.
|
||||
|
||||
2013-06-20 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* windows/winevt.h: Added to repository. Headers for Wevtapi.dll.
|
||||
|
|
|
@ -935,10 +935,10 @@ getIPs(VARIANT *ip_array){
|
|||
}
|
||||
int num_ips = V_ARRAY(ip_array)->rgsabound[0].cElements;
|
||||
for (i = 0;i < num_ips;i++) {
|
||||
if (i > 0) {
|
||||
ret += " , ";
|
||||
}
|
||||
if (V_VT(&pvArray[i]) == VT_BSTR) {
|
||||
if (i > 0) {
|
||||
ret += " , ";
|
||||
}
|
||||
LPSTR szStringA;
|
||||
ret += Pandora_Strutils::strUnicodeToAnsi( V_BSTR(&pvArray[i]));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue