Changeset 2dc394c
- Timestamp:
- 2016-08-24T00:02:20Z (8 years ago)
- Branches:
- master
- Children:
- 67ea361
- Parents:
- 88cde4e
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber_util.c
r88cde4e r2dc394c 315 315 int i; 316 316 317 if (!jid1 || !jid2) { 318 return FALSE; 319 } 320 317 321 for (i = 0;; i++) { 318 322 if (jid1[i] == '\0' || jid1[i] == '/' || jid2[i] == '\0' || jid2[i] == '/') { -
tests/check_jabber_util.c
r88cde4e r2dc394c 103 103 fail_unless(jabber_compare_jid("bugtest@google.com/A", "bugtest@google.com/A")); 104 104 fail_if(jabber_compare_jid("", "bugtest@google.com/A")); 105 fail_if(jabber_compare_jid(NULL, "")); 106 fail_if(jabber_compare_jid("", NULL)); 105 107 } 106 108
Note: See TracChangeset
for help on using the changeset viewer.