Changeset ffdf2e7 for lib/misc.h


Ignore:
Timestamp:
2010-08-10T11:18:09Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
72176c1
Parents:
f32c14c
Message:

When doing SRV lookups, return an array with all RRs instead of just the
first one. The first isn't always the best one and this is currently causing
GTalk issues when talk2.l.google.com (which is currently dead) is first.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/misc.h

    rf32c14c rffdf2e7  
    6161G_MODULE_EXPORT int bool2int( char *value );
    6262
    63 G_MODULE_EXPORT struct ns_srv_reply *srv_lookup( char *service, char *protocol, char *domain );
     63G_MODULE_EXPORT struct ns_srv_reply **srv_lookup( char *service, char *protocol, char *domain );
     64G_MODULE_EXPORT void srv_free( struct ns_srv_reply **srv );
    6465
    6566G_MODULE_EXPORT char *word_wrap( const char *msg, int line_len );
Note: See TracChangeset for help on using the changeset viewer.