libpurple/stun.c

branch
next.minor
changeset 25859
b42be7bb9dac
parent 22104
56970903b8e9
child 26782
0d61de90ae02
equal deleted inserted replaced
25857:f40a2e40f651 25859:b42be7bb9dac
386 gboolean use_cached_result = TRUE; 386 gboolean use_cached_result = TRUE;
387 387
388 /** Deal with the server name having changed since we did the 388 /** Deal with the server name having changed since we did the
389 lookup */ 389 lookup */
390 if (servername && strlen(servername) > 1 390 if (servername && strlen(servername) > 1
391 && ((nattype.servername 391 && !purple_strequal(servername, nattype.servername)) {
392 && strcmp(servername, nattype.servername))
393 || !nattype.servername)) {
394 use_cached_result = FALSE; 392 use_cached_result = FALSE;
395 } 393 }
396 394
397 /* If we don't have a successful status and it has been 5 395 /* If we don't have a successful status and it has been 5
398 minutes since we last did a lookup, redo the lookup */ 396 minutes since we last did a lookup, redo the lookup */

mercurial