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

Diff for /src/usr.bin/tmux/cmd-list-clients.c between version 1.11 and 1.12

version 1.11, 2012/07/10 11:53:01 version 1.12, 2012/07/11 07:10:15
Line 41 
Line 41 
 };  };
   
 /* ARGSUSED */  /* ARGSUSED */
 int  enum cmd_retval
 cmd_list_clients_exec(struct cmd *self, struct cmd_ctx *ctx)  cmd_list_clients_exec(struct cmd *self, struct cmd_ctx *ctx)
 {  {
         struct args             *args = self->args;          struct args             *args = self->args;
Line 55 
Line 55 
         if (args_has(args, 't')) {          if (args_has(args, 't')) {
                 s = cmd_find_session(ctx, args_get(args, 't'), 0);                  s = cmd_find_session(ctx, args_get(args, 't'), 0);
                 if (s == NULL)                  if (s == NULL)
                         return (-1);                          return (CMD_RETURN_ERROR);
         } else          } else
                 s = NULL;                  s = NULL;
   
Line 82 
Line 82 
                 format_free(ft);                  format_free(ft);
         }          }
   
         return (0);          return (CMD_RETURN_NORMAL);
 }  }

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