diff options
| author | Glen Barber <gjb@FreeBSD.org> | 2016-04-11 15:24:59 +0000 |
|---|---|---|
| committer | Glen Barber <gjb@FreeBSD.org> | 2016-04-11 15:24:59 +0000 |
| commit | 876d357fa7bc8aeb8d050dd8fe227dd4fd8ed4df (patch) | |
| tree | f5194d1ce3fa45b67cf63080fc519fec83abc57a /lib/libusb | |
| parent | 7a888f325e494860d6158821dfbcef85a3310783 (diff) | |
| parent | b2d7040c1cc76c5bbbf54cd2351b4d137b8c22b6 (diff) | |
Notes
Diffstat (limited to 'lib/libusb')
| -rw-r--r-- | lib/libusb/libusb20.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libusb/libusb20.c b/lib/libusb/libusb20.c index 1de3a265125a..2eb75f1c6d7c 100644 --- a/lib/libusb/libusb20.c +++ b/lib/libusb/libusb20.c @@ -139,8 +139,8 @@ libusb20_tr_close(struct libusb20_transfer *xfer) free(xfer->ppBuffer); } /* reset variable fields in case the transfer is opened again */ - xfer->priv_sc0 = 0; - xfer->priv_sc1 = 0; + xfer->priv_sc0 = NULL; + xfer->priv_sc1 = NULL; xfer->is_opened = 0; xfer->is_pending = 0; xfer->is_cancel = 0; |
