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

Diff for /src/usr.bin/tmux/server-client.c between version 1.42 and 1.43

version 1.42, 2010/10/16 08:31:55 version 1.43, 2010/12/11 16:05:57
Line 70 
Line 70 
                 fatal("gettimeofday failed");                  fatal("gettimeofday failed");
         memcpy(&c->activity_time, &c->creation_time, sizeof c->activity_time);          memcpy(&c->activity_time, &c->creation_time, sizeof c->activity_time);
   
         ARRAY_INIT(&c->prompt_hdata);  
   
         c->stdin_event = NULL;          c->stdin_event = NULL;
         c->stdout_event = NULL;          c->stdout_event = NULL;
         c->stderr_event = NULL;          c->stderr_event = NULL;
Line 161 
Line 159 
                 xfree(c->prompt_string);                  xfree(c->prompt_string);
         if (c->prompt_buffer != NULL)          if (c->prompt_buffer != NULL)
                 xfree(c->prompt_buffer);                  xfree(c->prompt_buffer);
         for (i = 0; i < ARRAY_LENGTH(&c->prompt_hdata); i++)  
                 xfree(ARRAY_ITEM(&c->prompt_hdata, i));  
         ARRAY_FREE(&c->prompt_hdata);  
   
         if (c->cwd != NULL)          if (c->cwd != NULL)
                 xfree(c->cwd);                  xfree(c->cwd);

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43