diff options
| author | 2001-01-19 01:11:48 +0000 | |
|---|---|---|
| committer | 2001-01-19 01:11:48 +0000 | |
| commit | e6015ce5e9be81881102e33ed3139fc11bb233cc (patch) | |
| tree | df9981bade81a4784f69f3f0da427a61ed4c2ee2 /src/main.c | |
| parent | Fix misplaced device file in Debian installation. (diff) | |
First implementation of new error reporting API.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@49 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -76,7 +76,7 @@ static unsigned int init_rawdevice(struct raw1394_handle *h) } -struct raw1394_handle *raw1394_get_handle(void) +struct raw1394_handle *raw1394_new_handle(void) { struct raw1394_handle *handle; @@ -99,6 +99,7 @@ struct raw1394_handle *raw1394_get_handle(void) return NULL; } + handle->err = 0; handle->bus_reset_handler = bus_reset_default; handle->tag_handler = tag_handler_default; memset(handle->iso_handler, 0, sizeof(handle->iso_handler)); |
