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

Diff for /src/usr.bin/tmux/session.c between version 1.11 and 1.12

version 1.11, 2009/10/10 10:02:48 version 1.12, 2009/11/03 20:29:47
Line 126 
Line 126 
         s = xmalloc(sizeof *s);          s = xmalloc(sizeof *s);
         s->references = 0;          s->references = 0;
         s->flags = 0;          s->flags = 0;
         s->activity = time(NULL);  
   
         if (gettimeofday(&s->tv, NULL) != 0)          if (gettimeofday(&s->creation_time, NULL) != 0)
                 fatal("gettimeofday failed");                  fatal("gettimeofday failed");
           memcpy(&s->activity_time, &s->creation_time, sizeof s->activity_time);
   
         s->curw = NULL;          s->curw = NULL;
         TAILQ_INIT(&s->lastw);          TAILQ_INIT(&s->lastw);

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