| 384 } |
384 } |
| 385 |
385 |
| 386 if(nattype.status != PURPLE_STUN_STATUS_UNDISCOVERED) { |
386 if(nattype.status != PURPLE_STUN_STATUS_UNDISCOVERED) { |
| 387 gboolean use_cached_result = TRUE; |
387 gboolean use_cached_result = TRUE; |
| 388 |
388 |
| 389 /** Deal with the server name having changed since we did the |
389 /* Deal with the server name having changed since we did the |
| 390 lookup */ |
390 lookup */ |
| 391 if (servername && strlen(servername) > 1 |
391 if (servername && strlen(servername) > 1 |
| 392 && !purple_strequal(servername, nattype.servername)) { |
392 && !purple_strequal(servername, nattype.servername)) { |
| 393 use_cached_result = FALSE; |
393 use_cached_result = FALSE; |
| 394 } |
394 } |
| 395 |
395 |