Skip to content

Commit bb1b341

Browse files
frozencemeterytiran
authored andcommitted
Fix usages of "retval" instead of "restype"
Closes: #32
1 parent d2a2e11 commit bb1b341

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

kdcproxy/config/mit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def krb5_errcheck(result, func, arguments):
9393

9494
krb5_free_context = LIBKRB5.krb5_free_context
9595
krb5_free_context.argtypes = (krb5_context, )
96-
krb5_free_context.retval = None
96+
krb5_free_context.restype = None
9797

9898
krb5_get_profile = LIBKRB5.krb5_get_profile
9999
krb5_get_profile.argtypes = (krb5_context, ctypes.POINTER(profile_t))
@@ -114,7 +114,7 @@ def krb5_errcheck(result, func, arguments):
114114

115115
profile_iterator_free = LIBKRB5.profile_iterator_free
116116
profile_iterator_free.argtypes = (ctypes.POINTER(iter_p), )
117-
profile_iterator_free.retval = None
117+
profile_iterator_free.restype = None
118118

119119
profile_iterator = LIBKRB5.profile_iterator
120120
profile_iterator.argtypes = (ctypes.POINTER(iter_p),

0 commit comments

Comments
 (0)