diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-28 07:26:46 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-28 07:26:46 -0400 |
| commit | 87b234ba73e9abb4ecb8966ef631a0d7b8f5915a (patch) | |
| tree | 8435c18071937d092e3265bb4c708caab24b9135 /src/main.c | |
| parent | 898cfeb8a558245fc48bbba948c16205509e6a11 (diff) | |
| download | fujinet-chat-87b234ba73e9abb4ecb8966ef631a0d7b8f5915a.tar.gz | |
Save some more bytes (strip down nio.c API).
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -78,7 +78,7 @@ void txbuf_send(void) { tx_buf[txbuflen++] = 0x0a; ind_net_tx(); - nwrite(conf->url, tx_buf, txbuflen); + nwrite(tx_buf, txbuflen); ind_net_idle(); txbuf_init(); } @@ -95,7 +95,7 @@ int fn_connect(void) { scr_print_current(conf->url); scr_eol_current(); - err = nopen(conf->url, FNET_TRANSLATION); + err = nopen(); if(err != SUCCESS) { scr_print_current("Connection failed: "); @@ -118,7 +118,7 @@ int fn_connect(void) { } void fn_disconnect(void) { - nclose(conf->url); + nclose(); // Restore old PROCEED interrupt. PIA.pactl &= ~1; // disable interrupts |
