diff options
author | FreeArtMan <dos21h@gmail.com> | 2019-09-29 11:29:07 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2019-09-29 11:29:07 +0100 |
commit | 9b43d9de2981b2df96089919cd2e708b0f91d081 (patch) | |
tree | aa645729074b3098f2b6eeacc47bea6f5b8db708 /cmd | |
parent | ae51162f5f809937b36b09c186ff5348e861e347 (diff) | |
download | ihe-9b43d9de2981b2df96089919cd2e708b0f91d081.tar.gz ihe-9b43d9de2981b2df96089919cd2e708b0f91d081.zip |
Fixed crushing on empty arguments
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/cmd_open.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/cmd_open.c b/cmd/cmd_open.c index b7ea4f7..d758598 100644 --- a/cmd/cmd_open.c +++ b/cmd/cmd_open.c @@ -19,8 +19,6 @@ int c_open( cmd_arg_t *arg ) char *fname = NULL; int fret = 0; - printf("%s\n",argv[0]); - if ( argc != 1 ) { printf("Neeed one argument %d\n",argc); |