Ignore:
Timestamp:
Mar 18, 2008, 9:36:56 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Get rid of ugly tabs and trailing spaces everywhere.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/packet.cpp

    r56 r124  
    4242{ jfree(buf); }
    4343
    44 packet::packet(int prefix_size) 
    45 { 
     44packet::packet(int prefix_size)
     45{
    4646  pre_size=prefix_size;
    4747
     
    5353  buf_size=1000;
    5454  buf=(uint8_t *)jmalloc(buf_size,"packet buffer");
    55   reset(); 
     55  reset();
    5656
    5757#ifdef MANAGE_MEM
     
    6565  while (len>1 && !eop() && *b)
    6666  {
    67     *st=*b; 
     67    *st=*b;
    6868    st++;
    6969    ro++;
     
    7575}
    7676
    77 void packet::reset() 
     77void packet::reset()
    7878{ ro=wo=rend=pre_size; }
    7979
     
    8383  {
    8484    buf_size=max;
    85     buf=(uint8_t *)jrealloc(buf,max,"packet buffer"); 
     85    buf=(uint8_t *)jrealloc(buf,max,"packet buffer");
    8686  }
    8787}
Note: See TracChangeset for help on using the changeset viewer.