Fix the build warnings and typo error
[platform/core/connectivity/bluetooth-frwk.git] / bt-api / bt-gatt-client.c
index a3258ee..3f92e17 100755 (executable)
@@ -2202,7 +2202,7 @@ static gboolean  bluetooth_gatt_client_notify_channel_watch_cb(GIOChannel *gio,
                        memcpy(char_val.prop.uuid, chr_info->UUID, 16);
                        memcpy(char_val.value, buffer, len);
                        char_val.val_len = len;
-                       memcpy(char_val.address, chr_info->adress, 18);
+                       memcpy(char_val.address, chr_info->address, 18);
 
                        event_info = _bt_event_get_cb_data(BT_GATT_CLIENT_EVENT);
 
@@ -2256,7 +2256,7 @@ static bt_gatt_characteristic_notify_info_t *  bluetooth_gatt_client_create_watc
        chr_info->notify_fd = fd;
        chr_info->id = id;
        chr_info->mtu = mtu;
-       g_strlcpy(chr_info->adress, address, 18);
+       g_strlcpy(chr_info->address, address, 18);
        memcpy(chr_info->UUID, uuid, 16);
 
        channel = g_io_channel_unix_new(fd);