This commit is contained in:
Álvaro Felipe Melchor 2015-05-23 15:10:27 +02:00 committed by pancake
parent bc271a6691
commit 75e719362d

View File

@ -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;