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:
parent
088c146d6a
commit
baa00eb56e
2
main.cpp
2
main.cpp
@ -3,7 +3,7 @@ Copyright 2016-2017 Daniil Gentili
|
|||||||
(https://daniil.it)
|
(https://daniil.it)
|
||||||
This file is part of php-libtgvoip.
|
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.
|
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.
|
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.
|
You should have received a copy of the GNU General Public License along with php-libtgvoip.
|
||||||
If not, see <http://www.gnu.org/licenses/>.
|
If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
4
main.h
4
main.h
@ -147,13 +147,13 @@ private:
|
|||||||
std::queue<FILE *> holdFiles;
|
std::queue<FILE *> holdFiles;
|
||||||
Mutex inputMutex;
|
Mutex inputMutex;
|
||||||
|
|
||||||
FILE *outputFile;
|
FILE *outputFile = NULL;
|
||||||
Mutex outputMutex;
|
Mutex outputMutex;
|
||||||
|
|
||||||
size_t readInput;
|
size_t readInput;
|
||||||
size_t readOutput;
|
size_t readOutput;
|
||||||
int callState = CALL_STATE_NONE;
|
int callState = CALL_STATE_NONE;
|
||||||
VoIPController *inst;
|
VoIPController *inst = NULL;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user