summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar aeb 2001-06-27 12:14:20 +0000
committerGravatar aeb 2001-06-27 12:14:20 +0000
commitb0804b836ef473112a3cf7c5391cd47180be1beb (patch)
treec77b5a5cf8e7a9d589f9c0865443306fa18a8aa6 /src
parentdebian: Let postinst continue even if input is /dev/null. (diff)
Fix wrong error mapping in raw1394_error_to_errno() on local transactions.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@70 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'src')
-rw-r--r--src/errors.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/errors.c b/src/errors.c
index 8f5b5a4..08ce425 100644
--- a/src/errors.c
+++ b/src/errors.c
@@ -61,7 +61,8 @@ int raw1394_errcode_to_errno(raw1394_errcode_t errcode)
};
if (!raw1394_internal_err(errcode)) {
- if (raw1394_get_ack(errcode) == L1394_ACK_PENDING)
+ if (raw1394_get_ack(errcode) == 0x10
+ || raw1394_get_ack(errcode) == L1394_ACK_PENDING)
return rcode2errno[raw1394_get_rcode(errcode)];
else
return ack2errno[raw1394_get_ack(errcode)];
/www.gravatar.com/avatar/5583ee5cd9fc9109043328f4e0fdf7ae?s=13&d=retro' width='13' height='13' alt='Gravatar' /> John Cowan 1-3/+6 2021-07-26Publish second draft.Gravatar Arthur A. Gleckler 1-0/+1 2021-07-26Fix errors reported by W3C HTML Validator.Gravatar Arthur A. Gleckler 1-3/+3 2021-07-26Fix example.Gravatar Arthur A. Gleckler 1-1/+1 2021-07-26typosGravatar John Cowan 1-1/+1 2021-07-26paired mutatorsGravatar John Cowan 1-43/+68 2021-07-26exceptionsGravatar John Cowan 1-1/+15 2021-07-26new exampleGravatar John Cowan 1-1/+4 2021-07-26updatesGravatar John Cowan 1-2/+4 2021-07-26dtd always first argumentGravatar John Cowan 1-9/+9 2021-07-26DTO to DTDGravatar John Cowan 1-55/+52 2021-07-26typoGravatar John Cowan 1-1/+1 2021-07-26switching to explicit dtosGravatar John Cowan 1-88/+102 2021-07-26errorsGravatar John Cowan 1-1/+4 2021-07-26more MN-W reviewGravatar John Cowan 1-5/+5 2021-07-26update preview linkGravatar John Cowan 1-1/+1 2021-07-26MN-W reviewGravatar John Cowan 1-6/+6 2021-07-26paired mutatorsGravatar John Cowan 1-43/+68 2021-07-25exceptionsGravatar John Cowan 1-1/+15 2021-07-25new exampleGravatar John Cowan 1-1/+4 2021-07-25updatesGravatar John Cowan 1-2/+4 2021-07-24dtd always first argumentGravatar John Cowan 1-9/+9 2021-07-23DTO to DTDGravatar John Cowan 1-55/+52 2021-07-22typoGravatar John Cowan 1-1/+1 2021-07-22switching to explicit dtosGravatar John Cowan 1-88/+102 2021-07-22errorsGravatar John Cowan 1-1/+4 2021-07-22more MN-W reviewGravatar John Cowan 1-5/+5 2021-07-20update preview linkGravatar John Cowan 1-1/+1 2021-07-20MN-W reviewGravatar John Cowan 1-6/+6 2021-07-18Fix typo.Gravatar Arthur A. Gleckler 2-4/+4 2021-07-18Add <p> around abstract.Gravatar Arthur A. Gleckler 1-2/+2 2021-07-18Publish first draft.draft-1Gravatar Arthur A. Gleckler 3-0/+114 2021-07-18Ignore trailing whitespace.Gravatar Arthur A. Gleckler 11-129/+129 2021-07-18Ignore "Dictionaries.log".Gravatar Arthur A. Gleckler 1-1/+2 2021-07-18Fix errors reported by W3C HTML Validator.Gravatar Arthur A. Gleckler 1-27/+27 2021-07-18Eliminate unnecessary redirect by using TLS/SSL.Gravatar Arthur A. Gleckler 1-1/+1