Commit 8ebb9158 authored by bussotti's avatar bussotti

Update pdcp_benchmark.c

parent bc8bc923
...@@ -57,10 +57,11 @@ void exit_function(const char *file, const char *function, const int line, const ...@@ -57,10 +57,11 @@ void exit_function(const char *file, const char *function, const int line, const
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
int resQ; int resQ;
do{ if(argc < 2)
printf("Type in the test you want (1 or 2)"); {
scanf("%d",&resQ); printf("You should pass the test you want as parameter")
}while(resQ!=1 ||resQ != 2); }
resQ = atoi(argv[1]);
pool_buffer_init(); pool_buffer_init();
list_init(&pdu_tx_list, NULL); list_init(&pdu_tx_list, NULL);
logInit(); logInit();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment