Skip to content

Commit 4eb3a4c

Browse files
committed
Fixed fat-fingered previous edit
1 parent cedb243 commit 4eb3a4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

context_util.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ callback_shim(struct getdns_context *context,
6464
} else {
6565
py_result = result_create(response);
6666
#if PY_MAJOR_VERSION >= 3
67-
68-
#else
6967
py_tid = PyLong_FromLong((long)tid);
68+
#else
69+
py_tid = PyInt_FromLong((long)tid);
7070
#endif
7171
if (u->userarg)
7272
#if PY_MAJOR_VERSION >= 3

0 commit comments

Comments
 (0)