summaryrefslogtreecommitdiffstats
path: root/cython
diff options
context:
space:
mode:
Diffstat (limited to 'cython')
-rw-r--r--cython/afc.pxi8
1 files changed, 4 insertions, 4 deletions
diff --git a/cython/afc.pxi b/cython/afc.pxi
index 1ca4378..3e6f6dd 100644
--- a/cython/afc.pxi
+++ b/cython/afc.pxi
@@ -182,7 +182,7 @@ cdef class AfcClient(BaseService):
182 cpdef list get_device_info(self): 182 cpdef list get_device_info(self):
183 cdef: 183 cdef:
184 afc_error_t err 184 afc_error_t err
185 char** infos 185 char** infos = NULL
186 bytes info 186 bytes info
187 int i = 0 187 int i = 0
188 list result = [] 188 list result = []
@@ -205,7 +205,7 @@ cdef class AfcClient(BaseService):
205 cpdef list read_directory(self, bytes directory): 205 cpdef list read_directory(self, bytes directory):
206 cdef: 206 cdef:
207 afc_error_t err 207 afc_error_t err
208 char** dir_list 208 char** dir_list = NULL
209 bytes f 209 bytes f
210 int i = 0 210 int i = 0
211 list result = [] 211 list result = []
@@ -253,10 +253,10 @@ cdef class AfcClient(BaseService):
253 253
254 return f 254 return f
255 255
256 cpdef get_file_info(self, bytes path): 256 cpdef list get_file_info(self, bytes path):
257 cdef: 257 cdef:
258 list result = [] 258 list result = []
259 char** c_result 259 char** c_result = NULL
260 int i = 0 260 int i = 0
261 bytes info 261 bytes info
262 try: 262 try: