mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
refactor cmdlist.num_cmds -> cmdlist.num_cmd to be more consistent
This commit is contained in:
parent
448458b37f
commit
88ed66e138
7 changed files with 27 additions and 27 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/02/24 17:49:46 by khais #+# #+# */
|
||||
/* Updated: 2025/03/18 15:52:43 by khais ### ########.fr */
|
||||
/* Updated: 2025/03/19 16:43:14 by khais ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -106,7 +106,7 @@ void cmdlist_destroy(t_cmdlist *cmd)
|
|||
if (cmd == NULL)
|
||||
return ;
|
||||
i = 0;
|
||||
while (i < cmd->num_cmds)
|
||||
while (i < cmd->num_cmd)
|
||||
{
|
||||
cmdlist_item_destroy(cmd->cmds[i]);
|
||||
i++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue