summaryrefslogtreecommitdiffstats
path: root/src/b_env.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/b_env.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/b_env.c b/src/b_env.c
index 8f0a974..a19aadd 100644
--- a/src/b_env.c
+++ b/src/b_env.c
@@ -16,13 +16,11 @@
#include "f_fail.h"
#include "s_struct.h"
-uint8_t
- b_env(char *args[],
- t_msh *msh)
+uint8_t b_env(char *args[], t_msh *msh)
{
char **ptr;
- if (args && args[0])
+ if (args != NULL && args[0] != NULL)
{
f_fail_no_options("env", msh);
return (127);