daemon: fix build

This commit is contained in:
Matthias Ringwald 2018-11-23 18:09:51 +01:00
parent c77e7c454e
commit b178f6a6e6

View File

@ -78,7 +78,7 @@ uint8_t rfcomm_service_db_channel_for_service(const char *serviceName){
if (!newItem) return 0;
memset(new, 0, sizeof(db_mem_service_t));
memset(newItem, 0, sizeof(db_mem_service_t));
strncpy(newItem->service_name, serviceName, MAX_NAME_LEN);
newItem->service_name[MAX_NAME_LEN] = 0;
newItem->channel = max_channel;