X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Ff2fchat.git;a=blobdiff_plain;f=f2fchat.c;fp=f2fchat.c;h=634133c0cb3e17f5f5f043ebaba5214bb4e1cf76;hp=854a56eaf485e7ef232bb29b7e9a693cf8ececb0;hb=746f894f363405e6ff5dd7cfdc80ccd0c664fd24;hpb=ec81d19dd18fb4fce9b0fcbe9db73200585ec2f0 diff --git a/f2fchat.c b/f2fchat.c index 854a56e..634133c 100644 --- a/f2fchat.c +++ b/f2fchat.c @@ -31,9 +31,9 @@ int main(int argc, char **argv) struct cache *cache; GMainLoop *loop; g_type_init(); + sock_init(); create_cache(&cache); load_cache(cache, "friends.cache"); - sock_init(); loop = g_main_loop_new(g_main_context_default(), TRUE); g_main_loop_run(loop); store_cache(cache, "friends.cache");