Skip to content

Commit d134e7f

Browse files
authored
Merge pull request #91 from dparrish/case_sensitive_tab_completion
Change cli_loop completor code to be case sensitive.
2 parents 7d1802c + c5f100b commit d134e7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libcli.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1513,7 +1513,7 @@ int cli_loop(struct cli_def *cli, int sockfd) {
15131513
k = 0;
15141514

15151515
for (j = 0; (j < k) && (j < (int)strlen(wptr)); j++) {
1516-
if (strncasecmp(tptr + j, wptr + j, 1)) break;
1516+
if (strncmp(tptr + j, wptr + j, 1)) break;
15171517
}
15181518
k = j;
15191519
}

0 commit comments

Comments
 (0)