Skip to content

Commit c105688

Browse files
committed
Styling fixes (spaces instead of tabs)
1 parent 7a8c268 commit c105688

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

psutil/_psutil_windows.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2202,7 +2202,7 @@ psutil_net_io_counters(PyObject *self, PyObject *args) {
22022202
pIfRow = (MIB_IF_ROW2 *) malloc(sizeof(MIB_IF_ROW2));
22032203
#endif
22042204
#if (_WIN32_WINNT < 0x0600) // Windows 2000 / XP
2205-
pIfRow = (MIB_IFROW *) malloc(sizeof(MIB_IFROW));
2205+
pIfRow = (MIB_IFROW *) malloc(sizeof(MIB_IFROW));
22062206
#endif
22072207

22082208
if (pIfRow == NULL) {
@@ -2216,7 +2216,7 @@ psutil_net_io_counters(PyObject *self, PyObject *args) {
22162216
#endif
22172217
#if (_WIN32_WINNT < 0x0600) // Windows 2000 / XP
22182218
pIfRow->dwIndex = pCurrAddresses->IfIndex;
2219-
dwRetVal = GetIfEntry(pIfRow);
2219+
dwRetVal = GetIfEntry(pIfRow);
22202220
#endif
22212221
if (dwRetVal != NO_ERROR) {
22222222
PyErr_SetString(PyExc_RuntimeError, "GetIfEntry() or GetIfEntry2() failed.");
@@ -2235,7 +2235,7 @@ psutil_net_io_counters(PyObject *self, PyObject *args) {
22352235
pIfRow->OutDiscards);
22362236
#endif
22372237
#if (_WIN32_WINNT < 0x0600) // Windows 2000 / XP
2238-
py_nic_info = Py_BuildValue("(kkkkkkkk)",
2238+
py_nic_info = Py_BuildValue("(kkkkkkkk)",
22392239
pIfRow->dwOutOctets,
22402240
pIfRow->dwInOctets,
22412241
pIfRow->dwOutUcastPkts,

0 commit comments

Comments
 (0)