Mercurial > pidgin.yaz
comparison libgaim/protocols/msn/directconn.c @ 20391:0b0ecee55091
The second msn.tgz from SF Patch #1621854 from Ka-Hing Cheung.
"new version, fixes some crashes because group_id is char * but in some
places it's set to an int (!). skadotnet, I don't understand why you need
`if (!strcmp(type, "MFN")) {` in so many places, so I didn't include most
of them. I also have different versions of some of your fixes because I
already fixed them.
Group manipulations may still not work, at least it's not crashing :-)"
committer: Richard Laager <rlaager@wiktel.com>
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Sun, 15 Apr 2007 02:43:47 +0000 |
parents | d634f88e25d8 |
children |
comparison
equal
deleted
inserted
replaced
20390:d634f88e25d8 | 20391:0b0ecee55091 |
---|---|
420 | 420 |
421 gboolean | 421 gboolean |
422 msn_directconn_connect(MsnDirectConn *directconn, const char *host, int port) | 422 msn_directconn_connect(MsnDirectConn *directconn, const char *host, int port) |
423 { | 423 { |
424 MsnSession *session; | 424 MsnSession *session; |
425 int r; | |
426 | 425 |
427 g_return_val_if_fail(directconn != NULL, FALSE); | 426 g_return_val_if_fail(directconn != NULL, FALSE); |
428 g_return_val_if_fail(host != NULL, TRUE); | 427 g_return_val_if_fail(host != NULL, TRUE); |
429 g_return_val_if_fail(port > 0, FALSE); | 428 g_return_val_if_fail(port > 0, FALSE); |
430 | 429 |