Skip to content

Commit c90fade

Browse files
authored
Fix md_get_all() return value (#1194)
It is a follow-up PR for #1187 that corrects retval of internal `md_get_all()` function.
1 parent eeb048f commit c90fade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multidict/_multilib/hashtable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ md_get_all(MultiDictObject *md, PyObject *key, PyObject **ret)
868868

869869
md_finder_cleanup(&finder);
870870
Py_DECREF(identity);
871-
return ret != NULL;
871+
return *ret != NULL;
872872
fail:
873873
md_finder_cleanup(&finder);
874874
Py_XDECREF(identity);

0 commit comments

Comments
 (0)