I downloaded libyahoo2 and I'm trying to login but get a segmentation fault when the yahoo_login() function is called. Here's the code I'm using:
#include <stdio.h>
#include <liblyahoo2/yahoo2.h>
#include <libyahoo2/yahoo2_callbacks.h>
int main(int argc, char **argv)
{
int id;
id = yahoo_init(argv[1], argv[2]);
yahoo_login(id, 0); yahoo_close(id);
return 0;
}
I've been all over google and haven't found a solution