Small formatting changes

This commit is contained in:
Joseph 2023-01-07 13:40:50 -04:00
parent 873755106c
commit d7b00e2b94
2 changed files with 2 additions and 3 deletions

View file

@ -1830,7 +1830,7 @@ static ssize_t perform_socket_read(socket_t desc, char *read_point, size_t space
* above, 'tmp' lost the '+8' since it doesn't need it and the code has been
* changed to reserve space by accepting one less character. (Do you really
* need 256 characters on a line?) -gg 1/21/2000 */
static int process_input(struct descriptor_data* t)
static int process_input(struct descriptor_data *t)
{
int buf_length, failed_subst;
ssize_t bytes_read;

View file

@ -62,8 +62,7 @@ void parse_trigger(FILE *trig_f, int nr)
trig->cmdlist->cmd = strdup(strtok(s, "\n\r"));
cle = trig->cmdlist;
while ((s = strtok(NULL, "\n\r")))
{
while ((s = strtok(NULL, "\n\r"))) {
CREATE(cle->next, struct cmdlist_element, 1);
cle = cle->next;
cle->cmd = strdup(s);