| 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 |