--prod pointer bug fix

This commit is contained in:
Mészáros Mihály 2018-02-28 14:54:06 +01:00
parent 3fe107b3a3
commit 9895339b23
2 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,8 @@ Version 4.5.0.8 'dan Eider':
- MySQL password encryption (by Mustafa Bingül & Erdem Duman)
- Do not write to log before logging configuration is read from a config file (by eiver)
- Add more explanation on use-auth-secret / REST in example config (by Krithin Sitaram)
- Add a Warning if lines in config file ends with semicolon (by heyheyjc)n
- Add a Warning if lines in config file ends with semicolon (by heyheyjc)
- Fix --prod pointer bug
12/10/2017 Oleg Moskalenko <mom040267@gmail.com>
Version 4.5.0.7 'dan Eider':

View File

@ -64,7 +64,7 @@ static inline int get_family(int stun_family, ioa_engine_handle e, ioa_socket_ha
////////////////////////////////////////////////
const char * get_version(turn_turnserver *server) {
if(server && !server->prod) {
if(server && !*server->prod) {
return (const char *) TURN_SOFTWARE;
} else {
return (const char *) "None";