Skip to content
Snippets Groups Projects
Commit fc233796 authored by rswindell's avatar rswindell
Browse files

Removed the unused faddrtoa() function causing a compile failure.

Not sure why this file started with a "3.1" rev. Weird.
parent 3c034ee1
No related branches found
No related tags found
No related merge requests found
...@@ -11,26 +11,6 @@ ...@@ -11,26 +11,6 @@
FILE* nulfp; FILE* nulfp;
FILE* bodyfp; FILE* bodyfp;
/****************************************************************************/
/* Returns an ASCII string for FidoNet address 'addr' */
/****************************************************************************/
char *faddrtoa(faddr4d_t* addr, char* outstr)
{
static char str[64];
char point[25];
if(addr==NULL)
return("0:0/0");
sprintf(str,"%hu:%hu/%hu",addr->zone,addr->net,addr->node);
if(addr->point) {
sprintf(point,".%hu",addr->point);
strcat(str,point); }
if(outstr==NULL)
return(str);
strcpy(outstr,str);
return(outstr);
}
char* freadstr(FILE* fp, char* str, size_t maxlen) char* freadstr(FILE* fp, char* str, size_t maxlen)
{ {
int ch; int ch;
...@@ -47,7 +27,6 @@ char* freadstr(FILE* fp, char* str, size_t maxlen) ...@@ -47,7 +27,6 @@ char* freadstr(FILE* fp, char* str, size_t maxlen)
return(str); return(str);
} }
int msgdump(FILE* fp, const char* fname) int msgdump(FILE* fp, const char* fname)
{ {
int ch,lastch=0; int ch,lastch=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment