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

Diff for /src/usr.bin/tmux/tmux.c between version 1.103 and 1.104

version 1.103, 2011/01/23 11:03:43 version 1.104, 2011/03/04 23:26:44
Line 132 
Line 132 
         if ((env = getenv("TMUX")) == NULL)          if ((env = getenv("TMUX")) == NULL)
                 return;                  return;
   
         if (sscanf(env, "%255s,%ld,%d", path, &pid, &idx) != 3)          if (sscanf(env, "%255[^,],%ld,%d", path, &pid, &idx) != 3)
                 return;                  return;
         environ_path = xstrdup(path);          environ_path = xstrdup(path);
         environ_pid = pid;          environ_pid = pid;

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104