Skip to content
Snippets Groups Projects
Commit 6563259c authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci Committed by Danilo K. S. Yorinori
Browse files

client.c: Added more server responses checks


check_version() verifies more server responses:
- If versionFromServer is NULL;
- If the server read an invalid version file (versionFromServer contains
"Invalid version");
- And if the server could not find the version file (versionFromServer
contains "Version file not found").

Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
Acked-by: default avatarDiego Giovane Pasqualin <dgp06@c3sl.ufpr.br>
Signed-off-by: default avatarDanilo K. S. Yorinori <danilok@c3sl.ufpr.br>
parent 8ebf466d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment