minor fixes of warnings and misspellings
This commit is contained in:
parent
ccf473515d
commit
0663d62be8
@ -161,7 +161,7 @@ static int daemon_sysentry_init(s_sysentry *sysent)
|
|||||||
strcpy(msg, "freqs holded");
|
strcpy(msg, "freqs holded");
|
||||||
}
|
}
|
||||||
|
|
||||||
if( msg && *msg )
|
if( *msg )
|
||||||
log("QUEUE: add %s (%s)", ftn_addrstr(abuf, sysent->node.addr), msg);
|
log("QUEUE: add %s (%s)", ftn_addrstr(abuf, sysent->node.addr), msg);
|
||||||
else
|
else
|
||||||
log("QUEUE: add %s", ftn_addrstr(abuf, sysent->node.addr));
|
log("QUEUE: add %s", ftn_addrstr(abuf, sysent->node.addr));
|
||||||
@ -194,7 +194,7 @@ static bool daemon_node_cancall_line(const s_node *node, const s_override *ovrd)
|
|||||||
if( modem_isgood_phone(ovrd->sPhone) )
|
if( modem_isgood_phone(ovrd->sPhone) )
|
||||||
good_phone = TRUE;
|
good_phone = TRUE;
|
||||||
}
|
}
|
||||||
else if( node && node->phone && *node->phone )
|
else if( node && *node->phone )
|
||||||
{
|
{
|
||||||
if( modem_isgood_phone(node->phone) )
|
if( modem_isgood_phone(node->phone) )
|
||||||
good_phone = TRUE;
|
good_phone = TRUE;
|
||||||
|
@ -39,8 +39,8 @@ static s_modemport *daemon_getfree_port(const char *lockdir)
|
|||||||
|
|
||||||
static int daemon_call_branch(s_sysentry *syst, const char *lockdir, s_modemport *port)
|
static int daemon_call_branch(s_sysentry *syst, const char *lockdir, s_modemport *port)
|
||||||
{
|
{
|
||||||
int rc = BFERR_NOERROR;
|
//int rc = BFERR_NOERROR;
|
||||||
char abuf[BF_MAXADDRSTR+1];
|
//char abuf[BF_MAXADDRSTR+1];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* First of all restore the default signal handlers
|
* First of all restore the default signal handlers
|
||||||
|
@ -68,7 +68,8 @@ int req_createsrif(char *sname, char *req, char *rsp)
|
|||||||
else
|
else
|
||||||
fprintf(fp, "Sysop SysOp\n");
|
fprintf(fp, "Sysop SysOp\n");
|
||||||
|
|
||||||
if( aptr = session_1remote_address() )
|
aptr = session_1remote_address();
|
||||||
|
if( aptr )
|
||||||
fprintf(fp, "AKA %s\n", ftn_addrstr(abuf, *aptr));
|
fprintf(fp, "AKA %s\n", ftn_addrstr(abuf, *aptr));
|
||||||
else
|
else
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -307,7 +307,7 @@ int tty_putc(unsigned char ch, int timeout)
|
|||||||
|
|
||||||
int tty_puts(const unsigned char *s, int timeout)
|
int tty_puts(const unsigned char *s, int timeout)
|
||||||
{
|
{
|
||||||
return tty_write_timeout(s, strlen(s), timeout);
|
return tty_write_timeout(s, strlen((char *)s), timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
int tty_getc(int timeout)
|
int tty_getc(int timeout)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user