Skip to content
Snippets Groups Projects
Commit 5faed965 authored by y2-binyahya's avatar y2-binyahya
Browse files

added if statement to avoid null values

parent 89e7d609
Branches
No related tags found
No related merge requests found
......@@ -70,10 +70,15 @@ process_execute (const char *file_name)
//prints out to check the args
printf("filename: %s\n", filename);
if(args1!=NULL){
printf("args1: %s\n", args1);
}
if(args2!=NULL){
printf("args2: %s\n", args2);
}
if(args3!=NULL){
printf("args3: %s\n", args3);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment