Skip to content

Commit

Permalink
beeversion: make ends_with return defined value for nonsene input
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Jul 21, 2016
1 parent 118648c commit 269887b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/beeversion.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ static int ends_with(char *string,char *postfix)
if (postfix_len<=string_len) {
return strcmp(&string[string_len-postfix_len],postfix)==0;
}
return 0;
}

int scan_be0_version(char *filename,struct beeversion *versionsnummer)
Expand Down

0 comments on commit 269887b

Please sign in to comment.