Skip to content
Snippets Groups Projects
Commit 5c86bf95 authored by Costin-Cosmin SPĂTARU's avatar Costin-Cosmin SPĂTARU
Browse files

Rezolvata o eroare de coding style.

parent f0e8fc4d
No related branches found
No related tags found
No related merge requests found
Pipeline #102290 passed
......@@ -69,7 +69,7 @@ static int parse_simple(simple_command_t *s, int level, command_t *father)
// daca exista un cuvant dupa verb
if (s->verb->next_part != NULL)
// si daca urmatorul cuvant dupa verb este "="
if(strcmp(s->verb->next_part->string, "=") == 0)
if (strcmp(s->verb->next_part->string, "=") == 0)
// setez variabila cu valoarea din urmatorul cuvant dupa "=" ca sa o folosesc in shell
return setenv(s->verb->string, get_word(s->verb->next_part->next_part), 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment