home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
mrl1.zip
/
fix.c
next >
Wrap
C/C++ Source or Header
|
1995-08-02
|
298b
|
16 lines
#include <malloc.h>
#include <string.h>
#include "mrl.h"
int FixLRP(const char *dir)
{
char *tmp2=malloc(250);
if(!tmp2) {WriteLog(logname," Malloc error in FixLRP",'!');return -1;}
strcpy(tmp2,dir);
strcat(tmp2,"\\lastread");
UpdateLRP(mmax,tmp2);
free(tmp2);
return 0;
}