changeset 2135:1779daad8cc3

[gaim-migrate @ 2145] adding buddies really does work now. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 08 Aug 2001 17:34:23 +0000
parents 6641141234b7
children 73253b36c3cb
files src/protocols/yahoo/buddy.c src/protocols/yahoo/rxhandlers.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/buddy.c	Wed Aug 08 16:43:21 2001 +0000
+++ b/src/protocols/yahoo/buddy.c	Wed Aug 08 17:34:23 2001 +0000
@@ -20,6 +20,7 @@
  */
 
 #include "internal.h"
+#include <string.h>
 
 int yahoo_add_buddy(struct yahoo_session *session, const char *active_id,
 		const char *group, const char *buddy, const char *message)
--- a/src/protocols/yahoo/rxhandlers.c	Wed Aug 08 16:43:21 2001 +0000
+++ b/src/protocols/yahoo/rxhandlers.c	Wed Aug 08 17:34:23 2001 +0000
@@ -37,7 +37,7 @@
 			if (session->callbacks[YAHOO_HANDLE_BADPASSWORD].function)
 				(*session->callbacks[YAHOO_HANDLE_BADPASSWORD].function)(session);
 			return;
-		} else if (!strncmp(*it, "Set-Cookie: ", strlen("Set-Cookie: "))) {
+		} else if (!strncmp(*it, "Set-Cookie: Y=", strlen("Set-Cookie: Y="))) {
 			char **sa;
 			char **m;