Correct typo: return -1 for error, not 0

This commit is contained in:
Guido van Rossum 1996-09-11 23:31:23 +00:00
parent 3863abb921
commit f156f503cd
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ sads_setattr(xp, name, v)
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);
}