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
......@@ -11,26 +11,6 @@
FILE* nulfp;
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)
{
int ch;
......@@ -46,7 +26,6 @@ char* freadstr(FILE* fp, char* str, size_t maxlen)
return(str);
}
int msgdump(FILE* fp, const char* fname)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment