Removed acinfo_readelem_ac_name

it's now a macro.

FossilOrigin-Name: 02d6a975cfa4ed374295987ab3f33ea248b2775f4d80f41e55d1a51d3a9c7ea9
This commit is contained in:
7u83@mail.ru 2014-08-14 23:30:43 +00:00
parent 7c09de1b0c
commit f4b261c717
1 changed files with 4 additions and 3 deletions

View File

@ -30,6 +30,7 @@
#include "sock.h"
/*
int acinfo_readelem_ac_name(struct ac_info * acinfo,int type, uint8_t *msgelem, int len)
{
if (type != CWMSGELEM_AC_NAME)
@ -37,7 +38,7 @@ int acinfo_readelem_ac_name(struct ac_info * acinfo,int type, uint8_t *msgelem,
cw_setstr(&acinfo->ac_name,msgelem,len);
return 1;
}
*/
int acinfo_readelem_ac_descriptor(struct ac_info * acinfo,int type, uint8_t *msgelem, int len)
{
@ -131,8 +132,8 @@ int acinfo_readelem_ctrl_ip_addr(struct ac_info * acinfo, int type, uint8_t*msge
acip->wtp_count = ntohs( * ((uint16_t*)(msgelem+4)));
aciplist_add(acinfo->aciplist,acip);
printf ("Read AC IP Elem %s\n",sock_addr2str(&acip->ip));
printf ("WTP COUNT HERE %d\n",acip->wtp_count);
// printf ("Read AC IP Elem %s\n",sock_addr2str(&acip->ip));
// printf ("WTP COUNT HERE %d\n",acip->wtp_count);
return 1;