Fix for non-binlog version
Merge github.com:vysheng/tg
main.c: fixed gcc warning.