Addition of session filter tracking in order to allow the show session
command to call the diagnostic entries points of the filters in the session. Slight improvements to the two example filters and a fix to the trim routine.
This commit is contained in:
@ -626,7 +626,8 @@ char *ptr;
|
||||
while (isspace(*str))
|
||||
str++;
|
||||
|
||||
ptr = str + strlen(str);
|
||||
/* Point to last character of the string */
|
||||
ptr = str + strlen(str) - 1;
|
||||
while (ptr > str && isspace(*ptr))
|
||||
*ptr-- = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user