libpurple/protocols/zephyr/ZAsyncLocate.c

branch
string-comparison-r2
changeset 38259
c593fc9f5438
parent 38258
9a6551eba09c
child 38358
30ba44276e74
child 43153
2e4624a59df5
equal deleted inserted replaced
38258:9a6551eba09c 38259:c593fc9f5438
68 library, so it is allowed to know this). */ 68 library, so it is allowed to know this). */
69 69
70 /* non-matching protocol version numbers means the 70 /* non-matching protocol version numbers means the
71 server is probably an older version--must punt */ 71 server is probably an older version--must punt */
72 72
73 if (zald && strcmp(notice->z_version, zald->version)) 73 if (zald && !purple_strequal(notice->z_version, zald->version))
74 return(ZERR_VERS); 74 return(ZERR_VERS);
75 75
76 if (notice->z_kind == SERVNAK) 76 if (notice->z_kind == SERVNAK)
77 return (ZERR_SERVNAK); 77 return (ZERR_SERVNAK);
78 78

mercurial