1
0
mirror of https://github.com/danog/php-libtgvoip.git synced 2024-11-30 04:19:26 +01:00

Tiny bugfix

This commit is contained in:
Daniil Gentili 2019-10-28 14:10:39 +01:00
parent 088c146d6a
commit baa00eb56e
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ Copyright 2016-2017 Daniil Gentili
(https://daniil.it)
This file is part of php-libtgvoip.
php-libtgvoip is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the free Software Foundation, either version 3 of the License, or (at your option) any later version.
The PWRTelegram API 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.
php-libtgvoip 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 Affero General Public License for more details.
You should have received a copy of the GNU General Public License along with php-libtgvoip.
If not, see <http://www.gnu.org/licenses/>.

4
main.h
View File

@ -147,13 +147,13 @@ private:
std::queue<FILE *> holdFiles;
Mutex inputMutex;
FILE *outputFile;
FILE *outputFile = NULL;
Mutex outputMutex;
size_t readInput;
size_t readOutput;
int callState = CALL_STATE_NONE;
VoIPController *inst;
VoIPController *inst = NULL;
};
#endif