Permalink
Browse files

Fixed bug where incorrect kb length returned to client.

  • Loading branch information...
1 parent 022f5cd commit cca370bcd8e9533104d9e14c8012da663f3028c5 @davechallis committed Nov 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/admin/admind.c
View
@@ -730,7 +730,7 @@ static void start_or_stop_kb_all(int client_fd, int action)
/* count number of kbs */
for (fsa_kb_info *p = ki; p != NULL; p = p->next) {
- int kb_len = strlen((char *)ki->name);
+ int kb_len = strlen((char *)p->name);
if (kb_len > max_kb_len) {
max_kb_len = kb_len;
}

0 comments on commit cca370b

Please sign in to comment.