/[inetutils]/inetutils/telnetd/utility.c
ViewVC logotype

Diff of /inetutils/telnetd/utility.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by gray, Sun Apr 7 15:31:27 2002 UTC revision 1.12 by gray, Mon Apr 8 14:05:56 2002 UTC
# Line 35  Line 35 
35    
36  static char netobuf[BUFSIZ+NETSLOP], *nfrontp, *nbackp;  static char netobuf[BUFSIZ+NETSLOP], *nfrontp, *nbackp;
37  static char *neturg;    /* one past last byte of urgent data */  static char *neturg;    /* one past last byte of urgent data */
38    #ifdef  ENCRYPTION
39    static char *nclearto;
40    #endif
41    
42  static char ptyobuf[BUFSIZ+NETSLOP], *pfrontp, *pbackp;  static char ptyobuf[BUFSIZ+NETSLOP], *pfrontp, *pbackp;
43    
# Line 150  io_setup () Line 153  io_setup ()
153  {  {
154    pfrontp = pbackp = ptyobuf;    pfrontp = pbackp = ptyobuf;
155    nfrontp = nbackp = netobuf;    nfrontp = nbackp = netobuf;
156    #ifdef  ENCRYPTION
157      nclearto = 0;
158    #endif
159    netip = netibuf;    netip = netibuf;
160    ptyip = ptyibuf;    ptyip = ptyibuf;
161  }  }
# Line 554  netflush () Line 560  netflush ()
560        
561    if ((n = nfrontp - nbackp) > 0)    if ((n = nfrontp - nbackp) > 0)
562      {      {
563        NET_ENCRYPT ()        NET_ENCRYPT ();
564    
565        /*        /*
566         * if no urgent data, or if the other side appears to be an         * if no urgent data, or if the other side appears to be an

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26