@@ -49,7 +49,7 @@ typedef __uint16_t u16;
4949typedef __uint8_t u8 ;
5050
5151#include "ethtool-copy.h"
52- #include <linux/sockios.h> /* for SIOCETHTOOL */
52+ #include <linux/sockios.h> /* for SIOCETHTOOL */
5353
5454#define ARRAY_SIZE (arr ) (sizeof(arr) / sizeof((arr)[0]))
5555
@@ -105,9 +105,9 @@ static PyObject *get_devices(PyObject *self __unused, PyObject *args __unused)
105105 /* find colon */
106106 while (* end && * end != ':' )
107107 end ++ ;
108- * end = 0 ; /* terminate where colon was */
108+ * end = 0 ; /* terminate where colon was */
109109 while (* name == ' ' )
110- name ++ ; /* skip over leading whitespace if any */
110+ name ++ ; /* skip over leading whitespace if any */
111111
112112 str = PyStr_FromString (name );
113113 PyList_Append (list , str );
@@ -223,12 +223,12 @@ static PyObject *get_interfaces_info(PyObject *self __unused, PyObject *args) {
223223
224224 /* Parse input arguments if we got them */
225225 if (inargs != NULL ) {
226- if (PyStr_Check (inargs )) { /* Input argument is just a string */
226+ if (PyStr_Check (inargs )) { /* Input argument is just a string */
227227 fetch_devs_len = 1 ;
228228 fetch_devs = calloc (1 , sizeof (char * ));
229229 fetch_devs [0 ] = PyStr_AsString (inargs );
230230
231- } else if (PyTuple_Check (inargs )) { /* Input argument is a tuple list with devices */
231+ } else if (PyTuple_Check (inargs )) { /* Input argument is a tuple list with devices */
232232 int j = 0 ;
233233
234234 fetch_devs_len = PyTuple_Size (inargs );
@@ -240,7 +240,7 @@ static PyObject *get_interfaces_info(PyObject *self __unused, PyObject *args) {
240240 }
241241 }
242242 fetch_devs_len = j ;
243- } else if (PyList_Check (inargs )) { /* Input argument is a list with devices */
243+ } else if (PyList_Check (inargs )) { /* Input argument is a list with devices */
244244 int j = 0 ;
245245
246246 fetch_devs_len = PyList_Size (inargs );
0 commit comments