mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 00:51:19 +00:00
Fix #2603
This commit is contained in:
parent
bc271a6691
commit
75e719362d
@ -1,4 +1,4 @@
|
||||
/* radare - LGPL - Copyright 2007-2014 - pancake */
|
||||
/* radare - LGPL - Copyright 2007-2015 - pancake */
|
||||
|
||||
#include <r_util.h>
|
||||
#include <r_print.h>
|
||||
@ -370,11 +370,11 @@ int main (int argc, char **argv) {
|
||||
int i;
|
||||
num = r_num_new (NULL, NULL);
|
||||
if (argc == 1) {
|
||||
r_num_free (num);
|
||||
return use_stdin ();
|
||||
}
|
||||
for (i=1; i<argc; i++) {
|
||||
rax (argv[i], 0, i==argc-1);
|
||||
use_stdin ();
|
||||
} else {
|
||||
for (i=1; i<argc; i++) {
|
||||
rax (argv[i], 0, i==argc-1);
|
||||
}
|
||||
}
|
||||
r_num_free (num);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user