[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.214 and 1.215

version 1.214, 2005/03/14 11:46:56 version 1.215, 2005/06/16 03:38:36
Line 2918 
Line 2918 
  * This should be called in the client only.   * This should be called in the client only.
  */   */
 void  void
 x11_request_forwarding_with_spoofing(int client_session_id,  x11_request_forwarding_with_spoofing(int client_session_id, const char *disp,
     const char *proto, const char *data)      const char *proto, const char *data)
 {  {
         u_int data_len = (u_int) strlen(data) / 2;          u_int data_len = (u_int) strlen(data) / 2;
Line 2928 
Line 2928 
         const char *cp;          const char *cp;
         u_int32_t rnd = 0;          u_int32_t rnd = 0;
   
         cp = getenv("DISPLAY");          cp = disp;
         if (cp)          if (disp)
                 cp = strchr(cp, ':');                  cp = strchr(disp, ':');
         if (cp)          if (cp)
                 cp = strchr(cp, '.');                  cp = strchr(cp, '.');
         if (cp)          if (cp)

Legend:
Removed from v.1.214  
changed lines
  Added in v.1.215