mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-22 05:50:48 +02:00
Small formatting changes
This commit is contained in:
parent
873755106c
commit
d7b00e2b94
2 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue