ekg2

Lista błędów

Globalny cmd_test_mem (const char *name, const char **params, session_t *session, const char *target, int quiet)
Need cleanup/rewritting

Globalny ekg_debug_handler (int level, const char *format, va_list ap)
It can happen than internal string_t line will be not freed.

Globalny gg_changed_proxy (session_t *s, const char *var)
BIG XXX, Mistake at art, it should use global config variable, not session ones, because it's used to inform libgadu about proxy servers.
And libgadu has got this variables global, not session private. Maybe we somehow can update these variables before gg_login() by callng gg_changed_proxy() but now it's BAD, BAD, BAD.

Globalny session_remove (const char *uid)
Possible implementation/idea bug in window_session_cycle() I really don't know if we should change session on this windows... Maybe swaping is ok... but we really need think about protocol.. Now If we change session from jabber to gg one this window won't be very useful..

Globalny userlist_t
There are two private fields [u->priv_data and u->priv] one needs to be removed.

Globalny window_kill (window_t *w)
Possible bug with sort_windows. Can anyone who wrote it look at it?

Globalny xcalloc (size_t nmemb, size_t size)
same as in xmalloc()

Globalny xmalloc (size_t size)
Possible bug: Some libc may return NULL if size is 0, from man malloc:
If size is 0 (...) a null pointer (...) shall be returned.
XXX, check it in configure.ac if malloc() returns NULL on 0 size, and check here if size is 0.

Globalny xrealloc (void *ptr, size_t size)
same as in xmalloc()
 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje