Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/input.c

    rb48d046 rb9ae539  
    6767int process_input(cliuser_t *usr)
    6868{
     69        char *cmd[WORD_MAX];
    6970        token_t *tokens = calloc(WORD_MAX, sizeof(token_t));
    7071        if (tokens == NULL)
    7172                return ENOMEM;
    72        
    73         char *cmd[WORD_MAX];
    7473        int rc = 0;
    7574        tokenizer_t tok;
     
    7978        char *redir_to = NULL;
    8079
    81         if (usr->line == NULL) {
     80        if (NULL == usr->line) {
    8281                free(tokens);
    8382                return CL_EFAIL;
Note: See TracChangeset for help on using the changeset viewer.