Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* load cookies */
- char* cookie_file = g_build_filename(g_get_home_dir(), JUMANJI_DIR, JUMANJI_COOKIES, NULL);
- SoupCookieJar *cookiejar = soup_cookie_jar_text_new(cookie_file, FALSE);
- soup_session_add_feature(Jumanji.Soup.session, (SoupSessionFeature*) cookiejar);
- g_free(cookie_file);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement