~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/net_serv.c

  • Committer: Brian Aker
  • Date: 2008-07-22 18:31:32 UTC
  • Revision ID: brian@tangent.org-20080722183132-ne2ntl7g7mdf2eez
uint32 -> uin32_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
542
542
  size_t length;
543
543
  uint i,retry_count=0;
544
544
  ulong len=packet_error;
545
 
  uint32 remain= (net->compress ? NET_HEADER_SIZE+COMP_HEADER_SIZE :
 
545
  uint32_t remain= (net->compress ? NET_HEADER_SIZE+COMP_HEADER_SIZE :
546
546
                  NET_HEADER_SIZE);
547
547
  /* Backup of the original SO_RCVTIMEO timeout */
548
548
  struct timeval backtime;
604
604
                          ER_NET_READ_ERROR);
605
605
        goto end;
606
606
      }
607
 
      remain -= (uint32) length;
 
607
      remain -= (uint32_t) length;
608
608
      pos+= length;
609
609
      update_statistics(thd_increment_bytes_received(length));
610
610
    }
642
642
        }
643
643
      }
644
644
      pos=net->buff + net->where_b;
645
 
      remain = (uint32) len;
 
645
      remain = (uint32_t) len;
646
646
    }
647
647
  }
648
648