du6 - 21
This commit is contained in:
parent
35e328d9ff
commit
92be9ce7d4
@ -80,11 +80,11 @@ int run_system(Tree *node) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (strcmp(c,'a') == 0) {
|
||||
if (strcmp(c,"a") == 0) {
|
||||
if (node->left != NULL){
|
||||
return run_system(node->left);
|
||||
}
|
||||
} else if (strcmp(c, 'n') == 0) {
|
||||
} else if (strcmp(c, "n") == 0) {
|
||||
if (node->right != NULL){
|
||||
return run_system(node->right);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user