libpurple/plugins/ssl/ssl-gnutls.c

branch
string-comparison-r2
changeset 38256
035f00c4fd87
parent 38216
887efbd652d8
child 39632
06b9049c1914
equal deleted inserted replaced
38239:f76c1aa92c07 38256:035f00c4fd87
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),

mercurial