~ubuntu-branches/ubuntu/quantal/nginx/quantal-updates

« back to all changes in this revision

Viewing changes to src/core/ngx_inet.c

  • Committer: Bazaar Package Importer
  • Author(s): Kartik Mistry
  • Date: 2011-04-16 13:47:58 UTC
  • mfrom: (4.2.31 sid)
  • Revision ID: james.westby@ubuntu.com-20110416134758-yqca2qp5crh2hw2f
Tags: 1.0.0-2
* debian/rules:
  + Removed --with-file-aio support. Fixed FTBFS on kFreeBSD-* arch
    (Closes: #621882)

Show diffs side-by-side

added added

removed removed

Lines of Context:
943
943
 
944
944
        u->naddrs = i;
945
945
 
946
 
        for (i = 0; h->h_addr_list[i] != NULL; i++) {
 
946
        for (i = 0; i < u->naddrs; i++) {
947
947
 
948
948
            sin = ngx_pcalloc(pool, sizeof(struct sockaddr_in));
949
949
            if (sin == NULL) {