more pedantic standards?

This commit is contained in:
Michael Jerris committed 2012-12-18 11:01:51 -05:00
1 parent 216ca57338
commit c3e3f818e8
32 files changed
+128 -113

No files matched your search

+2 -1
View File
@@ -57,6 +57,7 @@ extern accessory_cfg_info_t g_accessoryCfgInfo;
static int gTransportLayerProtocol = 4; // 4 = tcp, 2 = udp
static boolean gP2PSIP = FALSE;
static boolean gSDPMODE = FALSE;
static boolean gRTPSAVPF = TRUE; /* TRUE = RTP/SAVPF , FALSE = RTP/SAVP */
static int gVoipControlPort = 5060;
static int gCcm1_sip_port = 5060;
@@ -372,7 +373,7 @@ void config_set_ccm_ip_mac ()
void config_setup_elements (const char *sipUser, const char *sipPassword, const char *sipDomain)
{
unsigned int i;
char buf[MAX_SIP_URL_LENGTH] = {'\0'};
// char buf[MAX_SIP_URL_LENGTH] = {'\0'};
char ip[MAX_SIP_URL_LENGTH] = {'\0'};
char option[MAX_SIP_URL_LENGTH] = {'\0'};
int line = 0;