diff src/oscar.c @ 840:595ac7759563

[gaim-migrate @ 850] lots of (mostly useless for us) libfaim changes. should help portability, but it was always portable between unices.... stupid win32ers. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 04 Sep 2000 23:37:32 +0000
parents 7714587cd1f9
children 41bfae606d39
line wrap: on
line diff
--- a/src/oscar.c	Mon Sep 04 01:15:38 2000 +0000
+++ b/src/oscar.c	Mon Sep 04 23:37:32 2000 +0000
@@ -211,7 +211,6 @@
 int oscar_login(char *username, char *password) {
 	struct aim_session_t *sess;
 	struct aim_conn_t *conn;
-/*	struct client_info_s info = {"AOL Instant Messenger (TM), version 2.1.1187/WIN32", 4, 30, 3141, "us", "en", 0x0004, 0x0001, 0x055}; */
 	struct aim_user *u;
 	char buf[256];
 
@@ -399,7 +398,7 @@
 int gaim_parse_login(struct aim_session_t *sess,
 		     struct command_rx_struct *command, ...) {
 	struct client_info_s info = {"AOL Instant Messenger (TM), version 2.1.1187/WIN32", 4, 30, 3141, "us", "en", 0x0004, 0x0001, 0x055};
-	unsigned char *key;
+	char *key;
 	va_list ap;
 
 	va_start(ap, command);
@@ -455,12 +454,12 @@
 	va_list ap;
 	int serviceid;
 	char *ip;
-	char *cookie;
+	unsigned char *cookie;
 
 	va_start(ap, command);
 	serviceid = va_arg(ap, int);
 	ip        = va_arg(ap, char *);
-	cookie    = va_arg(ap, char *);
+	cookie    = va_arg(ap, unsigned char *);
 
 	switch(serviceid) {
 	case 0x7: /* Authorizer */
@@ -1034,7 +1033,7 @@
 	debug_print(debug_buff);
 
 	return 1;
-};
+}
 
 int gaim_parse_evilnotify(struct aim_session_t *sess, struct command_rx_struct *command, ...) {
 	va_list ap;