Changeset 5540:cd3bd3858c6c

Show
Ignore:
Timestamp:
2008-10-07 15:58:24 (2 months ago)
Author:
Emanuele Giaquinta <e.giaquinta@…>
Branch:
HEAD
Message:

Minor simplification in mutt_socket_readln_d

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r5538 r5540  
     12008-10-07 15:27 -0700  Brendan Cully  <brendan@kublai.com>  (d13106731007) 
     2 
     3        * mutt_idna.c, mutt_idna.h: Build no-op versions of new IDN functions 
     4        if IDN is unavailable. Closes #3122, #3123. 
     5 
     62008-10-01 09:33 -0700  Brendan Cully  <brendan@kublai.com>  (13a831a945be) 
     7 
     8        * configure.ac: Clean up autoconf header cache engine selection. 
     9 
     10        Any explicit --with-$engine will force that engine to be used or 
     11        make configure fail if the engine is unavailable. 
     12 
    1132008-09-29 14:31 -0700  Emanuele Giaquinta  <e.giaquinta@glauco.it>  (ec96c56be182) 
    214 
  • mutt_socket.c

    r5537 r5540  
    206206  /* strip \r from \r\n termination */ 
    207207  if (i && buf[i-1] == '\r') 
    208     buf[--i] = '\0'; 
    209   else 
    210     buf[i] = '\0'; 
     208    i--; 
     209  buf[i] = '\0'; 
    211210 
    212211  dprint (dbg, (debugfile, "%d< %s\n", conn->fd, buf));