Changeset b48d046 in mainline for uspace/app/bdsh/input.c


Ignore:
Timestamp:
2011-08-21T13:16:40Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f90eb75
Parents:
25c1b2c
Message:

cstyle
(no change in functionality)

File:
1 edited

Legend:

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

    r25c1b2c rb48d046  
    6767int process_input(cliuser_t *usr)
    6868{
    69         char *cmd[WORD_MAX];
    7069        token_t *tokens = calloc(WORD_MAX, sizeof(token_t));
    7170        if (tokens == NULL)
    7271                return ENOMEM;
     72       
     73        char *cmd[WORD_MAX];
    7374        int rc = 0;
    7475        tokenizer_t tok;
     
    7879        char *redir_to = NULL;
    7980
    80         if (NULL == usr->line) {
     81        if (usr->line == NULL) {
    8182                free(tokens);
    8283                return CL_EFAIL;
Note: See TracChangeset for help on using the changeset viewer.