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

Diff for /src/usr.bin/cu/cu.c between version 1.17 and 1.18

version 1.17, 2014/03/31 09:09:19 version 1.18, 2014/03/31 09:16:26
Line 118 
Line 118 
         else          else
                 host = getenv("HOST");                  host = getenv("HOST");
         if (host != NULL && *host != '\0') {          if (host != NULL && *host != '\0') {
                 s = getenv("REMOTE");                  if (*host == '/')
                 if (s != NULL && *s == '/')                          line_path = host;
                         try_remote(host, s, NULL);                  else {
                 else                          s = getenv("REMOTE");
                         try_remote(host, NULL, s);                          if (s != NULL && *s == '/')
                                   try_remote(host, s, NULL);
                           else
                                   try_remote(host, NULL, s);
                   }
         }          }
   
         if (line_path == NULL)          if (line_path == NULL)

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18