commit | f156f503cddaa0fad96e91405ebf0f5e88b8efbe | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Sep 11 23:31:23 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Sep 11 23:31:23 1996 +0000 |
tree | c09a5b015c7f220f801a08e5b55fff7ab98886cc | |
parent | 3863abb921eb1ae7b457df653681c058b61cfe1d [diff] |
Correct typo: return -1 for error, not 0
diff --git a/Modules/sunaudiodev.c b/Modules/sunaudiodev.c index fad8deb..ac4b156 100644 --- a/Modules/sunaudiodev.c +++ b/Modules/sunaudiodev.c
@@ -421,7 +421,7 @@ if (v == NULL) { err_setstr(TypeError, "can't delete sun audio status attributes"); - return 0; + return -1; } return setmember((char *)&xp->ai, sads_ml, name, v); }