[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/modules/msn2/libmsn2 msn_core.C,1.7,1.8 msn_i
From: |
Colin Leroy <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/modules/msn2/libmsn2 msn_core.C,1.7,1.8 msn_interface.C,1.1.1.1,1.2 msn_interface.h,1.1.1.1,1.2 |
Date: |
Thu, 09 Jan 2003 05:14:10 -0500 |
Update of /cvsroot/ayttm/ayttm/modules/msn2/libmsn2
In directory subversions:/tmp/cvs-serv6146/modules/msn2/libmsn2
Modified Files:
msn_core.C msn_interface.C msn_interface.h
Log Message:
disable connchecking for unverified email addresses
Index: msn_core.C
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/msn2/libmsn2/msn_core.C,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- msn_core.C 6 Jan 2003 15:23:16 -0000 1.7
+++ msn_core.C 9 Jan 2003 10:14:08 -0000 1.8
@@ -92,7 +92,7 @@
errors[712]=msn_permstring("Session overload on server");
errors[713]=msn_permstring("You have been too active recently. Slow down!");
errors[714]=msn_permstring("Too many sessions open");
- errors[715]=msn_permstring("Not expected");
+ errors[715]=msn_permstring("Not expected (probably no permission to set
friendlyname)");
errors[717]=msn_permstring("Bad friend file on server");
errors[911]=msn_permstring("Authentication failed. Check that you typed your
username (which has to contain the @domain.tld part) and password correctly.");
errors[913]=msn_permstring("This action is not allowed while you are
offline");
@@ -107,6 +107,8 @@
snprintf(buf, 1024, "An error has occurred while communicating with the
MSN Messenger server: %s (code %d)", errors[errcode], errcode);
ext_show_error(conn, buf);
}
+ if(errcode == 715)
+ ext_disable_conncheck();
}
void msn_invite_user(msnconn * conn, char * rcpt)
Index: msn_interface.C
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/msn2/libmsn2/msn_interface.C,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- msn_interface.C 23 Dec 2002 22:04:58 -0000 1.1.1.1
+++ msn_interface.C 9 Jan 2003 10:14:08 -0000 1.2
@@ -390,6 +390,8 @@
return s;
}
+void ext_disable_conncheck(void);
+
char * ext_get_IP(void)
{
struct hostent * hn;
@@ -399,4 +401,4 @@
hn = gethostbyname(buf2);
return inet_ntoa( *((struct in_addr*)hn->h_addr));
-}
\ No newline at end of file
+}
Index: msn_interface.h
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/msn2/libmsn2/msn_interface.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- msn_interface.h 23 Dec 2002 22:04:58 -0000 1.1.1.1
+++ msn_interface.h 9 Jan 2003 10:14:08 -0000 1.2
@@ -83,3 +83,5 @@
char * ext_get_IP(void);
void ext_update_local_contact(char *c);
+
+void ext_disable_conncheck(void);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/modules/msn2/libmsn2 msn_core.C,1.7,1.8 msn_interface.C,1.1.1.1,1.2 msn_interface.h,1.1.1.1,1.2,
Colin Leroy <address@hidden> <=