Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
[wip] Add support to Focus Concursos
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartatz committed Oct 15, 2023
1 parent bdf13fd commit b6a768e
Show file tree
Hide file tree
Showing 4 changed files with 1,021 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/estrategia_concursos.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ int estrategia_concursos_get_resources(
.url = malloc(strlen(ESTRATEGIA_CONCURSOS_COURSE_HOMEPAGE) + strlen(SLASH) + strlen(sid) + strlen(SLASH) + strlen(AULAS) + 1)
};

if (resource.id == NULL || resource.name == NULL || resource.dirname == NULL || resource.short_dirname == NULL || resource.qualification.id == NULL || resource.qualification.name == NULL || resource.qualification.dirname == NULL || resource.qualification.short_dirname == NULL) {
if (resource.id == NULL || resource.name == NULL || resource.dirname == NULL || resource.short_dirname == NULL || resource.qualification.id == NULL || resource.qualification.name == NULL || resource.qualification.dirname == NULL || resource.qualification.short_dirname == NULL || resource.url == NULL) {
return UERR_MEMORY_ALLOCATE_FAILURE;
}

Expand Down
Loading

0 comments on commit b6a768e

Please sign in to comment.