2001-11-10 17:14:16 +00:00
|
|
|
/*****************************************************************************
|
|
|
|
*
|
|
|
|
* $Id$
|
|
|
|
* Purpose ...............: Who's online functions
|
|
|
|
*
|
|
|
|
*****************************************************************************
|
2005-08-28 17:27:35 +00:00
|
|
|
* Copyright (C) 1997-2005
|
2001-11-10 17:14:16 +00:00
|
|
|
*
|
|
|
|
* Michiel Broek FIDO: 2:280/2802
|
|
|
|
* Beekmansbos 10
|
|
|
|
* 1971 BV IJmuiden
|
|
|
|
* the Netherlands
|
|
|
|
*
|
|
|
|
* This file is part of MBSE BBS.
|
|
|
|
*
|
|
|
|
* This BBS is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2, or (at your option) any
|
|
|
|
* later version.
|
|
|
|
*
|
|
|
|
* MBSE BBS is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with MBSE BBS; see the file COPYING. If not, write to the Free
|
2003-08-15 20:05:34 +00:00
|
|
|
* Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
2001-11-10 17:14:16 +00:00
|
|
|
*****************************************************************************/
|
|
|
|
|
2002-06-30 12:48:44 +00:00
|
|
|
#include "../config.h"
|
2004-02-21 17:22:00 +00:00
|
|
|
#include "../lib/mbselib.h"
|
2001-11-10 17:14:16 +00:00
|
|
|
#include "../lib/mbse.h"
|
2002-01-07 19:16:03 +00:00
|
|
|
#include "../lib/users.h"
|
2001-11-10 17:14:16 +00:00
|
|
|
#include "input.h"
|
|
|
|
#include "language.h"
|
|
|
|
#include "exitinfo.h"
|
|
|
|
#include "whoson.h"
|
2004-10-27 11:08:09 +00:00
|
|
|
#include "term.h"
|
2004-11-03 20:48:45 +00:00
|
|
|
#include "ttyio.h"
|
2001-11-10 17:14:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
extern int LC_Download, LC_Upload, LC_Read, LC_Chat, LC_Olr, LC_Door;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Function to display what users are currently On-Line and what they
|
|
|
|
* are busy doing
|
|
|
|
*/
|
|
|
|
void WhosOn(char *OpData)
|
|
|
|
{
|
2002-06-26 20:29:45 +00:00
|
|
|
char buf[128], *Heading, *Underline, *cnt, *isdoing, *location, *device;
|
2004-11-03 20:48:45 +00:00
|
|
|
char *fullname, *temp, msg[81];
|
2002-06-26 20:29:45 +00:00
|
|
|
int i, x, Start = TRUE;
|
|
|
|
FILE *fp;
|
|
|
|
struct userhdr ushdr;
|
|
|
|
struct userrec us;
|
|
|
|
|
|
|
|
Underline = calloc(81, sizeof(char));
|
|
|
|
Heading = calloc(81, sizeof(char));
|
|
|
|
|
2003-10-11 21:22:16 +00:00
|
|
|
WhosDoingWhat(WHOSON, NULL);
|
2002-06-26 20:29:45 +00:00
|
|
|
|
|
|
|
clear();
|
|
|
|
Enter(1);
|
|
|
|
colour(WHITE, BLACK);
|
|
|
|
/* Callers On-Line to */
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(Heading, 81, "%s%s", (char *) Language(414), CFG.bbs_name);
|
2002-06-26 20:29:45 +00:00
|
|
|
Center(Heading);
|
|
|
|
x = strlen(Heading);
|
|
|
|
|
|
|
|
for(i = 0; i < x; i++)
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(Underline, 81, "%s%c", Underline, exitinfo.GraphMode ? 196 : 45);
|
2002-06-26 20:29:45 +00:00
|
|
|
colour(LIGHTRED, BLACK);
|
|
|
|
Center(Underline);
|
2004-11-03 20:48:45 +00:00
|
|
|
Enter(1);
|
2002-06-26 20:29:45 +00:00
|
|
|
|
|
|
|
/* Name Device Status Location */
|
|
|
|
pout(LIGHTGREEN, BLACK, (char *) Language(415));
|
|
|
|
Enter(1);
|
|
|
|
colour(GREEN, BLACK);
|
|
|
|
fLine(79);
|
|
|
|
|
|
|
|
while (TRUE) {
|
|
|
|
if (Start)
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(buf, 128, "GMON:1,1;");
|
2002-06-26 20:29:45 +00:00
|
|
|
else
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(buf, 128, "GMON:1,0;");
|
2002-06-26 20:29:45 +00:00
|
|
|
Start = FALSE;
|
|
|
|
if (socket_send(buf) == 0) {
|
|
|
|
strcpy(buf, socket_receive());
|
|
|
|
if (strncmp(buf, "100:0;", 6) == 0)
|
|
|
|
break; /* No more data */
|
|
|
|
if (strstr(buf, "mbsebbs")) {
|
|
|
|
/*
|
|
|
|
* We are only interested in copies of the mbsebbs program
|
|
|
|
*/
|
|
|
|
cnt = strtok(buf, ",");
|
|
|
|
strtok(NULL, ",");
|
|
|
|
device = xstrcpy(strtok(NULL, ","));
|
|
|
|
fullname = xstrcpy(strtok(NULL, ","));
|
|
|
|
|
2003-02-07 22:51:07 +00:00
|
|
|
if (((strcasecmp(OpData, "/H")) == 0) || (strlen(OpData) == 0)) {
|
2001-11-12 21:42:17 +00:00
|
|
|
/*
|
2003-02-07 22:51:07 +00:00
|
|
|
* The mbtask daemon has only the users Unix names, we
|
|
|
|
* want the handle or real name instead.
|
2001-11-12 21:42:17 +00:00
|
|
|
*/
|
2002-06-26 20:29:45 +00:00
|
|
|
temp = calloc(PATH_MAX, sizeof(char));
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(temp, PATH_MAX, "%s/etc/users.data", getenv("MBSE_ROOT"));
|
2002-06-26 20:29:45 +00:00
|
|
|
if ((fp = fopen(temp,"rb")) != NULL) {
|
|
|
|
fread(&ushdr, sizeof(ushdr), 1, fp);
|
|
|
|
|
|
|
|
while (fread(&us, ushdr.recsize, 1, fp) == 1) {
|
2003-02-07 22:51:07 +00:00
|
|
|
if (strcmp(fullname, us.Name) == 0) {
|
2002-06-26 20:29:45 +00:00
|
|
|
if ((strcasecmp(OpData, "/H") == 0) && strlen(us.sHandle)) {
|
|
|
|
free(fullname);
|
|
|
|
fullname = xstrcpy(us.sHandle);
|
2003-02-07 22:51:07 +00:00
|
|
|
} else if (strlen(OpData) == 0) {
|
2002-06-26 20:29:45 +00:00
|
|
|
free(fullname);
|
2003-02-07 22:51:07 +00:00
|
|
|
fullname = xstrcpy(us.sUserName);
|
2002-06-26 20:29:45 +00:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fclose(fp);
|
2001-11-12 21:42:17 +00:00
|
|
|
}
|
2002-06-26 20:29:45 +00:00
|
|
|
free(temp);
|
2001-11-12 21:42:17 +00:00
|
|
|
}
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(msg, 81, "%-30s", fullname);
|
2004-11-03 20:48:45 +00:00
|
|
|
pout(LIGHTCYAN, BLACK, msg);
|
2002-06-26 20:29:45 +00:00
|
|
|
free(fullname);
|
|
|
|
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(msg, 81, "%-9s", device);
|
2004-11-03 20:48:45 +00:00
|
|
|
pout(LIGHTBLUE, BLACK, msg);
|
2002-06-26 20:29:45 +00:00
|
|
|
free(device);
|
2004-11-03 20:48:45 +00:00
|
|
|
|
2002-06-26 20:29:45 +00:00
|
|
|
strtok(NULL, ",");
|
|
|
|
location = xstrcpy(strtok(NULL, ","));
|
|
|
|
isdoing = xstrcpy(strtok(NULL, ","));
|
|
|
|
|
|
|
|
if (strstr(isdoing, "Browsing"))
|
|
|
|
/* Browseng */
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(msg, 81, "%-15s", (char *) Language(418));
|
2002-06-26 20:29:45 +00:00
|
|
|
else if (strstr(isdoing, "Downloading"))
|
|
|
|
/* Downloading */
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(msg, 81, "%-15s", (char *) Language(419));
|
2002-06-26 20:29:45 +00:00
|
|
|
else if (strstr(isdoing, "Uploading"))
|
|
|
|
/* Uploading */
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(msg, 81, "%-15s", (char *) Language(420));
|
2002-06-26 20:29:45 +00:00
|
|
|
else if (strstr(isdoing, "Read"))
|
|
|
|
/* Msg Section */
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(msg, 81, "%-15s", (char *) Language(421));
|
2002-06-26 20:29:45 +00:00
|
|
|
else if (strstr(isdoing, "External"))
|
|
|
|
/* External Door */
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(msg, 81, "%-15s", (char *) Language(422));
|
2002-06-26 20:29:45 +00:00
|
|
|
else if (strstr(isdoing, "Chat"))
|
|
|
|
/* Chatting */
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(msg, 81, "%-15s", (char *) Language(423));
|
2002-06-26 20:29:45 +00:00
|
|
|
else if (strstr(isdoing, "Files"))
|
|
|
|
/* Listing Files */
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(msg, 81, "%-15s", (char *) Language(424));
|
2002-06-26 20:29:45 +00:00
|
|
|
else if (strstr(isdoing, "Time"))
|
|
|
|
/* Banking Door */
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(msg, 81, "%-15s", (char *) Language(426));
|
2002-06-26 20:29:45 +00:00
|
|
|
else if (strstr(isdoing, "Safe"))
|
|
|
|
/* Safe Door */
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(msg, 81, "%-15s", (char *) Language(427));
|
2002-06-26 20:29:45 +00:00
|
|
|
else if (strstr(isdoing, "Whoson"))
|
|
|
|
/* WhosOn List */
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(msg, 81, "%-15s", (char *) Language(428));
|
2002-06-26 20:29:45 +00:00
|
|
|
else if (strstr(isdoing, "Offline"))
|
2002-11-11 14:52:13 +00:00
|
|
|
/* Offline Reader */
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(msg, 81, "%-15s", (char *) Language(429));
|
2003-10-11 21:22:16 +00:00
|
|
|
else {
|
|
|
|
/*
|
|
|
|
* This is default when nothing matches, with doors this
|
|
|
|
* will show the name of the door.
|
|
|
|
*/
|
|
|
|
if (strlen(isdoing) > 15)
|
|
|
|
isdoing[15] = '\0';
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(msg, 81, "%-15s", isdoing);
|
2003-10-11 21:22:16 +00:00
|
|
|
}
|
2004-11-03 20:48:45 +00:00
|
|
|
pout(WHITE, BLACK, msg);
|
2002-06-26 20:29:45 +00:00
|
|
|
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(msg, 81, "%-25s", location);
|
2004-11-03 20:48:45 +00:00
|
|
|
pout(LIGHTRED, BLACK, msg);
|
|
|
|
Enter(1);
|
2002-06-26 20:29:45 +00:00
|
|
|
free(location);
|
|
|
|
free(isdoing);
|
2001-11-12 21:42:17 +00:00
|
|
|
}
|
|
|
|
}
|
2002-06-26 20:29:45 +00:00
|
|
|
}
|
2001-11-12 21:42:17 +00:00
|
|
|
|
2002-06-26 20:29:45 +00:00
|
|
|
colour(GREEN, BLACK);
|
|
|
|
fLine(79);
|
2001-11-10 17:14:16 +00:00
|
|
|
|
2002-06-26 20:29:45 +00:00
|
|
|
free(Underline);
|
|
|
|
free(Heading);
|
2004-11-03 20:48:45 +00:00
|
|
|
Enter(1);
|
2001-11-10 17:14:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Function will update users file and and update exitinfo.iStatus
|
|
|
|
*/
|
2003-10-11 21:22:16 +00:00
|
|
|
void WhosDoingWhat(int iStatus, char *what)
|
2001-11-10 17:14:16 +00:00
|
|
|
{
|
2002-06-26 20:29:45 +00:00
|
|
|
char *temp;
|
2001-11-10 17:14:16 +00:00
|
|
|
|
2002-06-26 20:29:45 +00:00
|
|
|
temp = calloc(PATH_MAX, sizeof(char));
|
2001-11-10 17:14:16 +00:00
|
|
|
|
2002-06-26 20:29:45 +00:00
|
|
|
ReadExitinfo();
|
|
|
|
exitinfo.iStatus = iStatus;
|
|
|
|
WriteExitinfo();
|
2001-11-10 17:14:16 +00:00
|
|
|
|
2002-06-26 20:29:45 +00:00
|
|
|
switch(iStatus) {
|
|
|
|
case BROWSING: strcpy(temp, "Browsing Menus");
|
2001-11-10 17:14:16 +00:00
|
|
|
break;
|
|
|
|
|
2002-06-26 20:29:45 +00:00
|
|
|
case DOWNLOAD: strcpy(temp, "Downloading");
|
2001-11-10 17:14:16 +00:00
|
|
|
LC_Download = TRUE;
|
|
|
|
break;
|
|
|
|
|
2002-06-26 20:29:45 +00:00
|
|
|
case UPLOAD: strcpy(temp, "Uploading");
|
2001-11-10 17:14:16 +00:00
|
|
|
LC_Upload = TRUE;
|
|
|
|
break;
|
|
|
|
|
2002-06-26 20:29:45 +00:00
|
|
|
case READ_POST: strcpy(temp, "Read/post Messages");
|
2001-11-10 17:14:16 +00:00
|
|
|
LC_Read = TRUE;
|
|
|
|
break;
|
|
|
|
|
2003-10-11 21:22:16 +00:00
|
|
|
case DOOR: if (what)
|
|
|
|
strcpy(temp, what);
|
|
|
|
else
|
|
|
|
strcpy(temp, "External Door");
|
2001-11-10 17:14:16 +00:00
|
|
|
LC_Door = TRUE;
|
|
|
|
break;
|
|
|
|
|
2002-06-26 20:29:45 +00:00
|
|
|
case SYSOPCHAT: strcpy(temp, "Sysop Chat");
|
2001-11-10 17:14:16 +00:00
|
|
|
LC_Chat = TRUE;
|
|
|
|
break;
|
|
|
|
|
2002-06-26 20:29:45 +00:00
|
|
|
case FILELIST: strcpy(temp, "List Files");
|
2001-11-10 17:14:16 +00:00
|
|
|
break;
|
|
|
|
|
2002-06-26 20:29:45 +00:00
|
|
|
case WHOSON: strcpy(temp, "View Whoson List");
|
2001-11-10 17:14:16 +00:00
|
|
|
break;
|
|
|
|
|
2002-06-26 20:29:45 +00:00
|
|
|
case OLR: strcpy(temp, "Offline Reader");
|
2001-11-10 17:14:16 +00:00
|
|
|
LC_Olr = TRUE;
|
|
|
|
break;
|
2002-06-26 20:29:45 +00:00
|
|
|
}
|
|
|
|
IsDoing(temp);
|
|
|
|
free(temp);
|
2001-11-10 17:14:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Function will allow a user to send a on-line message to another user
|
|
|
|
* It will prompt the user for the username. The message is sent thru
|
2002-06-26 20:29:45 +00:00
|
|
|
* mbtask, from the response message we can see if we succeeded.
|
|
|
|
* Optional data /H and /U for handles and unix names is supported.
|
2001-11-10 17:14:16 +00:00
|
|
|
*/
|
|
|
|
void SendOnlineMsg(char *OpData)
|
|
|
|
{
|
2002-06-26 20:29:45 +00:00
|
|
|
static char buf[128];
|
|
|
|
char *User, *String, *temp;
|
|
|
|
FILE *fp;
|
|
|
|
struct userhdr ushdr;
|
|
|
|
struct userrec us;
|
|
|
|
|
|
|
|
User = calloc(36, sizeof(char));
|
|
|
|
String = calloc(77, sizeof(char));
|
|
|
|
WhosOn(OpData);
|
|
|
|
|
|
|
|
/* Please enter username to send message to: */
|
|
|
|
pout(CYAN, BLACK, (char *) Language(430));
|
|
|
|
colour(CFG.InputColourF, CFG.InputColourB);
|
|
|
|
GetstrC(User, 35);
|
|
|
|
if (!strcmp(User, "")) {
|
|
|
|
free(User);
|
|
|
|
free(String);
|
|
|
|
return;
|
|
|
|
}
|
2004-11-03 20:48:45 +00:00
|
|
|
temp = calloc(PATH_MAX, sizeof(char));
|
2002-06-26 20:29:45 +00:00
|
|
|
|
|
|
|
/*
|
2003-02-07 22:51:07 +00:00
|
|
|
* If we were displaying handles or real names, then lookup the
|
|
|
|
* users unix name to send to mbtask.
|
2002-06-26 20:29:45 +00:00
|
|
|
*/
|
2003-02-07 22:51:07 +00:00
|
|
|
if ((strcasecmp(OpData, "/H") == 0) || (strlen(OpData) == 0)) {
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(temp, PATH_MAX, "%s/etc/users.data", getenv("MBSE_ROOT"));
|
2002-06-26 20:29:45 +00:00
|
|
|
if ((fp = fopen(temp, "rb")) != NULL) {
|
|
|
|
fread(&ushdr, sizeof(ushdr), 1, fp);
|
|
|
|
Syslog('-', "Using translate");
|
|
|
|
|
|
|
|
while (fread(&us, ushdr.recsize, 1, fp) == 1) {
|
|
|
|
if ((strcasecmp(OpData, "/H") == 0) && strlen(us.sHandle) && (strcasecmp(User, us.sHandle) == 0)) {
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(User, 36, "%s", us.Name);
|
2002-06-26 20:29:45 +00:00
|
|
|
break;
|
2003-02-07 22:51:07 +00:00
|
|
|
} else if ((strlen(OpData) == 0) && (strcasecmp(User, us.sUserName) == 0)) {
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(User, 36, "%s", us.Name);
|
2002-06-26 20:29:45 +00:00
|
|
|
break;
|
2001-11-10 17:14:16 +00:00
|
|
|
}
|
2002-06-26 20:29:45 +00:00
|
|
|
}
|
|
|
|
fclose(fp);
|
2001-11-10 17:14:16 +00:00
|
|
|
}
|
2002-06-26 20:29:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Please enter message to send (Max 76 Characters) */
|
|
|
|
pout(LIGHTGREEN, BLACK, (char *)Language(433));
|
2004-11-03 20:48:45 +00:00
|
|
|
Enter(1);
|
|
|
|
pout(LIGHTGREEN, BLACK, (char *)"> ");
|
2002-06-26 20:29:45 +00:00
|
|
|
colour(CFG.InputColourF, CFG.InputColourB);
|
|
|
|
GetstrC(String, 76);
|
|
|
|
|
|
|
|
if ((strcmp(String, "")) != 0) {
|
|
|
|
buf[0] = '\0';
|
|
|
|
if ((strcasecmp(OpData, "/H") == 0) && strlen(exitinfo.sHandle))
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(buf, 128, "CSPM:3,%s,%s,%s;", exitinfo.sHandle, User, String);
|
2002-06-26 20:29:45 +00:00
|
|
|
else if (strcasecmp(OpData, "/U") == 0)
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(buf, 128, "CSPM:3,%s,%s,%s;", exitinfo.Name, User, String);
|
2002-06-26 20:29:45 +00:00
|
|
|
else
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(buf, 128, "CSPM:3,%s,%s,%s;", exitinfo.sUserName, User, String);
|
2002-06-26 20:29:45 +00:00
|
|
|
|
|
|
|
if (socket_send(buf) == 0) {
|
|
|
|
strcpy(buf, socket_receive());
|
|
|
|
|
|
|
|
if (strncmp(buf, "100:1,3;", 8) == 0) {
|
2004-11-03 20:48:45 +00:00
|
|
|
Enter(1);
|
2002-06-26 20:29:45 +00:00
|
|
|
/* Sorry, there is no user on */
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(temp, PATH_MAX, "%s %s", (char *) Language(431), User);
|
2004-11-03 20:48:45 +00:00
|
|
|
PUTSTR(temp);
|
|
|
|
Enter(1);
|
2002-06-26 20:29:45 +00:00
|
|
|
}
|
|
|
|
if (strncmp(buf, "100:1,2;", 8) == 0) {
|
2004-11-03 20:48:45 +00:00
|
|
|
Enter(1);
|
|
|
|
PUTSTR((char *)"No more room in users message buffer");
|
|
|
|
Enter(2);
|
2002-06-26 20:29:45 +00:00
|
|
|
}
|
|
|
|
if (strncmp(buf, "100:1,1;", 8) == 0) {
|
2004-11-03 20:48:45 +00:00
|
|
|
Enter(1);
|
2002-06-26 20:29:45 +00:00
|
|
|
/* doesn't wish to be disturbed */
|
2005-08-28 17:27:35 +00:00
|
|
|
snprintf(temp, PATH_MAX, "%s %s", User, (char *) Language(432));
|
2004-11-03 20:48:45 +00:00
|
|
|
pout(LIGHTRED, BLACK, temp);
|
|
|
|
Enter(1);
|
2002-06-26 20:29:45 +00:00
|
|
|
}
|
|
|
|
if (strncmp(buf, "100:0;", 6) == 0) {
|
2004-11-03 20:48:45 +00:00
|
|
|
PUTSTR((char *)"Message Sent!");
|
|
|
|
Enter(1);
|
2002-06-26 20:29:45 +00:00
|
|
|
Syslog('+', "Online msg to %s: \"%s\"", User, String);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2001-11-10 17:14:16 +00:00
|
|
|
|
2004-11-03 20:48:45 +00:00
|
|
|
free(temp);
|
2002-06-26 20:29:45 +00:00
|
|
|
free(User);
|
|
|
|
free(String);
|
|
|
|
Pause();
|
2001-11-10 17:14:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|