| 115 if (*prio_str == '\0') { |
115 if (*prio_str == '\0') { |
| 116 purple_debug_warning("gnutls", "Ignoring empty priority " |
116 purple_debug_warning("gnutls", "Ignoring empty priority " |
| 117 "string for %s\n", host); |
117 "string for %s\n", host); |
| 118 } else { |
118 } else { |
| 119 /* TODO: Validate each of these and complain */ |
119 /* TODO: Validate each of these and complain */ |
| 120 if (g_str_equal(host, "*")) { |
120 if (purple_strequal(host, "*")) { |
| 121 /* Override the default priority */ |
121 /* Override the default priority */ |
| 122 g_free(default_priority_str); |
122 g_free(default_priority_str); |
| 123 default_priority_str = g_strdup(prio_str); |
123 default_priority_str = g_strdup(prio_str); |
| 124 } else |
124 } else |
| 125 g_hash_table_insert(host_priorities, g_strdup(host), |
125 g_hash_table_insert(host_priorities, g_strdup(host), |