diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-14 05:37:49 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-14 05:37:49 -0400 |
| commit | 4e69bbef63866b17ccac241aec2bd5b5c65b02a9 (patch) | |
| tree | 21cdcc1b5859785b175facc23f387695990b3017 | |
| parent | 7f4b86763ca2f340ff9e1cae9a139f91fe349149 (diff) | |
| download | fujinet-chat-4e69bbef63866b17ccac241aec2bd5b5c65b02a9.tar.gz | |
get rid of unused nlogin() inherited from netcat. saves 162 bytes.
| -rw-r--r-- | src/nio.c | 3 | ||||
| -rw-r--r-- | src/nio.h | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -148,6 +148,8 @@ unsigned char nwrite(char* devicespec, unsigned char* buf, unsigned short len) return OS.dcb.dstats; // Return SIO error or success. } +/* IRC doesn't need this */ +#if 0 unsigned char nlogin(char* devicespec, char *login, char *password) { unsigned char unit=nunit(devicespec); @@ -181,3 +183,4 @@ unsigned char nlogin(char* devicespec, char *login, char *password) return OS.dcb.dstats; } +#endif @@ -74,6 +74,6 @@ unsigned char nwrite(char* devicespec, unsigned char* buf, unsigned short len); * @param login - The username to send * @param password - The password to send */ -unsigned char nlogin(char* devicespec, char* login, char* password); +// unsigned char nlogin(char* devicespec, char* login, char* password); #endif /* NIO_H */ |
