Vysheng
fd4780b83c
maybe fixed conn restart
2014-01-27 21:23:58 +04:00
antma
e27a27c4a0
fix #include "config.h" for all source files
2014-01-13 17:05:25 +04:00
vysheng
77f56cfd57
Merge branch 'master' of https://github.com/antma/tg
...
Conflicts:
tools.c
2014-01-10 21:16:26 +04:00
antma
d2460a8a90
enhance portability (replace void* by char*)
...
When using void pointers in calculations, the behaviour is undefined. Arithmetic operations on 'void *' is a GNU C extension, which defines the 'sizeof(void)' to be 1.
2014-01-10 19:04:27 +04:00
vysheng
f06d3c1625
free->tfree. Memory checks, if compiled with -DDEBUG
2014-01-10 18:37:56 +04:00
antma
3795a77618
check return values of strdup and malloc
...
add talloc0 function (malloc and zero fill)
check return values of arithmetic openssl BN_* functions
check return values of BN_bin2bn function
remove useless BN_init calls right after BN_new
fix 2 small memory leaks
2014-01-10 15:32:57 +04:00
Vysheng
3c629b2263
fixed acks
2014-01-02 22:52:41 +04:00
vysheng
c496266598
Added more checks on g_a and g
2013-12-24 15:29:18 +04:00
vysheng
29ed574e3c
Merge https://github.com/lwhsu/tg
2013-12-20 17:44:30 +04:00
vysheng
47174fe7ec
Fixed time format in logs
2013-12-18 21:57:51 +04:00
vysheng
16c49b539d
Fixed log
2013-12-18 19:42:53 +04:00
vysheng
28dd0f0e46
Added dump packets to file
2013-12-18 19:21:49 +04:00
Li-Wen Hsu
efdaafe0b2
Make it compile on FreeBSD.
2013-12-17 02:30:36 +08:00
Vysheng
8a39f039b0
Many fixes.
2013-12-02 21:19:08 +04:00
vysheng
33d15ff1c1
Added full support for layer 10
2013-11-15 14:37:14 +04:00
vysheng
65edc1789b
Maybe it would compile on mac now
2013-11-11 15:34:45 +04:00
vysheng
c04a0f5d6a
Added libconfig to parse config. Something fixed in net
2013-11-08 22:58:28 +04:00
vysheng
a064540223
Some fixes in network
2013-11-07 22:31:58 +04:00
vysheng
433ce1459a
Fixes some bugs in network
2013-11-07 21:37:12 +04:00
Vysheng
d0301b3252
Interface fixes
2013-10-26 23:57:22 +04:00
Vysheng
a51c8214cc
Sometimes client can recover from network loss
2013-10-26 19:32:20 +04:00
Vysheng
045467b0df
Fixed needed msg len
2013-10-23 21:56:29 +04:00
vysheng
e5cc589a0f
Added GPL-headers to source files
2013-10-23 18:26:17 +04:00
Vysheng
a8a18a8076
Sometimes updates work
2013-10-16 23:19:39 +04:00
Vysheng
bf291df34a
Many fixes. Now (maybe) works authorization and get contact list query
2013-10-13 14:18:08 +04:00
Vysheng
3243c29a8c
Big commit
2013-10-12 00:52:20 +04:00