mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 13:58:32 +00:00
Lots of little cosmetic cleanups
This commit is contained in:
1 parent
16289ce9a4
commit
d163c6338e
110 files changed
+7259
-762
No files matched your search
@@ -246,7 +246,7 @@ static int tx_supervisory_frame(lapm_state_t *s, uint8_t addr, uint8_t ctrl, uin
|
||||
{
|
||||
v42_frame_t *f;
|
||||
uint8_t *buf;
|
||||
|
||||
|
||||
if ((f = get_next_free_ctrl_frame(s)) == NULL)
|
||||
return -1;
|
||||
buf = f->buf;
|
||||
@@ -438,7 +438,7 @@ static void transmit_xid(v42_state_t *ss, uint8_t addr)
|
||||
*buf++ = 2;
|
||||
*buf++ = (param_val >> 8) & 0xFF;
|
||||
*buf++ = (param_val & 0xFF);
|
||||
|
||||
|
||||
*buf++ = PI_TX_WINDOW_SIZE;
|
||||
*buf++ = 1;
|
||||
*buf++ = ss->config.v42_tx_window_size_k;
|
||||
@@ -466,7 +466,7 @@ static void transmit_xid(v42_state_t *ss, uint8_t addr)
|
||||
*buf++ = '4';
|
||||
*buf++ = '2';
|
||||
|
||||
/* V.42bis P0
|
||||
/* V.42bis P0
|
||||
00 Compression in neither direction (default);
|
||||
01 Negotiation initiator-responder direction only;
|
||||
10 Negotiation responder-initiator direction only;
|
||||
@@ -1155,7 +1155,7 @@ static int lapm_config(v42_state_t *ss)
|
||||
static void reset_lapm(v42_state_t *ss)
|
||||
{
|
||||
lapm_state_t *s;
|
||||
|
||||
|
||||
s = &ss->lapm;
|
||||
/* Reset the LAP.M state */
|
||||
s->local_busy = FALSE;
|
||||
|
||||
Reference in new issue
Block a user