comparison src/protocols/novell/nmuser.c @ 8874:a2affcdf8e01

[gaim-migrate @ 9643] "This patch fixes the Novell protocol plugin on big endian platforms (Bug #947017). It also includes a fix for disconnects when sending large messages." --Mike Stoddard (novell) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 05 May 2004 20:29:21 +0000
parents 5a2b5e4abf3a
children 6663ad2386d9
comparison
equal deleted inserted replaced
8873:82f0d88ada18 8874:a2affcdf8e01
978 if (ret == sizeof(val)) { 978 if (ret == sizeof(val)) {
979 979
980 if (strncmp((char *) &val, "HTTP", strlen("HTTP")) == 0) 980 if (strncmp((char *) &val, "HTTP", strlen("HTTP")) == 0)
981 rc = nm_process_response(user); 981 rc = nm_process_response(user);
982 else 982 else
983 rc = nm_process_event(user, val); 983 rc = nm_process_event(user, GUINT32_FROM_LE(val));
984 984
985 } else { 985 } else {
986 rc = NMERR_PROTOCOL; 986 rc = NMERR_PROTOCOL;
987 } 987 }
988 988