# HG changeset patch # User Eric Warmenhoven # Date 1000416377 0 # Node ID 4f2a6268c5ec236d9a660fa0d17559e350f47a09 # Parent 8f9aa8739bf190ef7fdd6916b3461cbfd5ca35bc [gaim-migrate @ 2287] hi committer: Tailor Script diff -r 8f9aa8739bf1 -r 4f2a6268c5ec src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Thu Sep 13 05:52:07 2001 +0000 +++ b/src/protocols/oscar/oscar.c Thu Sep 13 21:26:17 2001 +0000 @@ -1262,15 +1262,8 @@ struct gaim_connection *gc = sess->aux_data; int flags = 0; - if (sizeof(gaim_features) == args->featureslen) { - int i; - for (i = 0; i < args->featureslen; i++) { - if (gaim_features[i] != args->features[i]) - break; - } - if (i == args->featureslen) - flags |= IM_FLAG_GAIMUSER; - } + if ((sizeof(gaim_features) == args->featureslen) && !memcmp(gaim_features, args->features, args->featureslen)) + flags |= IM_FLAG_GAIMUSER; if (args->icbmflags & AIM_IMFLAGS_AWAY) flags |= IM_FLAG_AWAY;