Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/caps.c @ 1873:1f5015ef43e8
Accept identity without name
author | Myhailo Danylenko <isbear@ukrpost.net> |
---|---|
date | Mon, 05 Apr 2010 18:17:09 +0300 |
parents | c1d0187f0959 |
children | c30fa2baf387 |
comparison
equal
deleted
inserted
replaced
1872:c1d0187f0959 | 1873:1f5015ef43e8 |
---|---|
73 const char *category, | 73 const char *category, |
74 const char *name, | 74 const char *name, |
75 const char *type) | 75 const char *type) |
76 { | 76 { |
77 caps *c; | 77 caps *c; |
78 if (!hash || !category || !name || !type) | 78 if (!hash || !category || !type) |
79 return; | 79 return; |
80 | 80 |
81 c = g_hash_table_lookup(caps_cache, hash); | 81 c = g_hash_table_lookup(caps_cache, hash); |
82 if (c) { | 82 if (c) { |
83 c->category = g_strdup(category); | 83 c->category = g_strdup(category); |