bzero -> memset

This commit is contained in:
matthias.ringwald@gmail.com 2012-01-29 17:09:10 +00:00
parent 3e2b91f16f
commit 71c6f8bde2

View File

@ -48,7 +48,7 @@
- (BTDevice *)init { - (BTDevice *)init {
name = NULL; name = NULL;
bzero(&_address, 6); memset(&_address, 0, 6);
classOfDevice = kCODInvalid; classOfDevice = kCODInvalid;
connectionState = kBluetoothConnectionNotConnected; connectionState = kBluetoothConnectionNotConnected;
return self; return self;