Remove unnecessary usage of snprintf

SVN revision: 37226
This commit is contained in:
Sebastian Dransfeld 2008-10-27 10:47:49 +00:00
parent 014531922e
commit 072477e3d1
1 changed files with 1 additions and 3 deletions

View File

@ -896,7 +896,6 @@ popup_cb_ifnet_sel(void *data)
if (!strcmp(inst->config.bssid, ifnet->bssid))
{
Conf_Network *cfnet;
char buf[256];
printf("SEL %s\n", ifnet->essid);
if (!conf)
@ -922,8 +921,7 @@ popup_cb_ifnet_sel(void *data)
conf->networks = eina_list_prepend(conf->networks, cfnet);
if (ifnet->essid)
{
snprintf(buf, sizeof(buf), ifnet->essid);
cfnet->name = strdup(buf);
cfnet->name = strdup(ifnet->essid);
cfnet->essid = strdup(ifnet->essid);
}
else