Changeset 62851 in vbox for trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
- Timestamp:
- Aug 1, 2016 10:13:35 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
r62761 r62851 936 936 static int vgsvcVMInfoWriteNetwork(void) 937 937 { 938 int rc = VINF_SUCCESS;939 938 uint32_t cIfsReported = 0; 940 939 char szPropPath[256]; … … 1094 1093 1095 1094 /* Get all available interfaces */ 1096 rc = getifaddrs(&pIfHead);1095 int rc = getifaddrs(&pIfHead); 1097 1096 if (rc < 0) 1098 1097 { … … 1163 1162 1164 1163 #else /* !RT_OS_WINDOWS && !RT_OS_FREEBSD */ 1164 int rc; 1165 1165 /* 1166 1166 * Use SIOCGIFCONF to get a list of interface/protocol configurations. … … 1172 1172 if (sd < 0) 1173 1173 { 1174 rc = RTErrConvertFromErrno(errno);1174 int rc = RTErrConvertFromErrno(errno); 1175 1175 VGSvcError("VMInfo/Network: Failed to get a socket: Error %Rrc\n", rc); 1176 1176 return rc; … … 1182 1182 char *pchBuf; 1183 1183 struct ifconf IfConf; 1184 rc = VINF_SUCCESS;1184 int rc = VINF_SUCCESS; 1185 1185 for (;;) 1186 1186 {
Note:
See TracChangeset
for help on using the changeset viewer.