Skip to content

Commit

Permalink
Few more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
npamnani committed Jun 18, 2017
1 parent 520521e commit 8724c97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion coda_interactive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,9 @@ void handle_input(CoreObject *co, char *str)
int argc = 0;
char *argv[MAX_ARGS] = {0};

char *saveptr;
for( ;argc < MAX_ARGS - 1; ++argc,str = NULL)
{
char *saveptr;
argv[argc] = coda_strtok(str,&saveptr);
if (argv[argc] == NULL)
break;
Expand Down
1 change: 1 addition & 0 deletions coda_readline.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <string.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <ctype.h>

#define LINE_LEN 1024
#define MAX_HIST_SIZE 2000
Expand Down

0 comments on commit 8724c97

Please sign in to comment.