Code cleanup
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / bt-service-pbap.c
index 335f3de..d69b66a 100644 (file)
@@ -998,7 +998,7 @@ int __bt_pbap_call_get_vcard(GDBusProxy *proxy, bt_pbap_data_t *pbap_data)
 //
 //****************************
 
-       snprintf(vcard, 20, "%d.vcf", app_param->index);
+       sprintf(vcard, "%d.vcf", app_param->index);
        BT_DBG("Handle: %s", vcard);
        vcard_handle = g_strdup(vcard);
        BT_DBG("vcard_handle: %s", vcard_handle);