[BACK]Return to channels.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/channels.c between version 1.175 and 1.176

version 1.175, 2002/06/10 22:28:41 version 1.176, 2002/06/23 21:06:41
Line 2322 
Line 2322 
   
 /*  /*
  * Creates an internet domain socket for listening for X11 connections.   * Creates an internet domain socket for listening for X11 connections.
  * Returns a suitable display number for the DISPLAY variable, or -1 if   * Returns 0 and a suitable display number for the DISPLAY variable
  * an error occurs.   * stored in display_numberp , or -1 if an error occurs.
  */   */
 int  int
 x11_create_display_inet(int x11_display_offset, int x11_use_localhost,  x11_create_display_inet(int x11_display_offset, int x11_use_localhost,
     int single_connection)      int single_connection, u_int *display_numberp)
 {  {
         Channel *nc = NULL;          Channel *nc = NULL;
         int display_number, sock;          int display_number, sock;
Line 2399 
Line 2399 
         }          }
   
         /* Return the display number for the DISPLAY environment variable. */          /* Return the display number for the DISPLAY environment variable. */
         return display_number;          *display_numberp = display_number;
           return (0);
 }  }
   
 static int  static int

Legend:
Removed from v.1.175  
changed lines
  Added in v.1.176