diff libpurple/protocols/myspace/myspace.h @ 17665:5c2720824798

Fail with our own error message if an entered password is greater than 8 characters. Previously, passwords >8 characters caused login to fail, but with the generic error code 260. The reason for this password length limitation has not yet been determined, but it is better to fail with a more descriptive error message than a generic 1.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Mon, 25 Jun 2007 05:38:56 +0000
parents 7b890c79aabf
children 7e4e3f6582d2
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h	Mon Jun 25 05:24:44 2007 +0000
+++ b/libpurple/protocols/myspace/myspace.h	Mon Jun 25 05:38:56 2007 +0000
@@ -75,6 +75,8 @@
 
 /* Constants */
 
+#define MSIM_MAX_PASSWORD_LENGTH 	8
+
 /* Build version of MySpaceIM to report to servers (1.0.xxx.0) */
 #define MSIM_CLIENT_VERSION     673