delete login inf

git-svn-id: svn://kolibrios.org@4153 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2013-11-03 13:42:47 +00:00
parent c683ddb194
commit 771c8b14b8
2 changed files with 3 additions and 5 deletions

View File

@ -114,9 +114,7 @@ void OpenMailDat()
ReadFile(0, 512, #read_data, "/sys/network/mail.dat");
if (!read_data)
{
//strcpy(#email_text, "example@mail.com");
strcpy(#email_text, "eiroglif@yandex.ru"); //temporarily, for testing
strcpy(#pass_text, "rostov");
strcpy(#email_text, "example@mail.com");
}
else
{
@ -136,7 +134,7 @@ void SaveAndExit()
char write_data[512], pass_b64[256];
Close(socketnum);
strcpy(#write_data, #email_text);
strcat(#write_data, "\n");
chrcat(#write_data, '\n');
base64_encode stdcall (#pass_text, #pass_b64, strlen(#pass_text));
strcat(#write_data, #pass_b64);
WriteFile(strlen(#write_data)+1, #write_data, "/sys/network/mail.dat");

View File

@ -246,7 +246,7 @@ int GetRequest(dword command, text)
strcpy(#request, command);
if (text)
{
strcat(#request, " ");
chrcat(#request, ' ');
strcat(#request, text);
}
strcat(#request, "\n");