~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/conn.c

  • Committer: Monty Taylor
  • Date: 2011-03-15 16:10:15 UTC
  • mfrom: (2235.3.1 staging)
  • Revision ID: mordred@inaugust.com-20110315161015-qceggirmf3cct7cw
Merge in libdrizzle install changes, doc changes and some header
refactoring.

Show diffs side-by-side

added added

removed removed

Lines of Context:
792
792
    memset(&ai, 0, sizeof(struct addrinfo));
793
793
    ai.ai_socktype= SOCK_STREAM;
794
794
    ai.ai_protocol= IPPROTO_TCP;
 
795
    ai.ai_flags = AI_PASSIVE;
 
796
    ai.ai_family = AF_UNSPEC;
795
797
 
796
798
    if (con->options & DRIZZLE_CON_LISTEN)
797
799
    {
798
 
      ai.ai_flags = AI_PASSIVE;
799
 
      ai.ai_family = AF_UNSPEC;
800
800
      host= tcp->host;
801
801
    }
802
802
    else