Skip to content

Commit

Permalink
Fix C89 compliance (C++ style comments)
Browse files Browse the repository at this point in the history
  • Loading branch information
rockdaboot committed Feb 11, 2024
1 parent 49c9e0c commit ebf63cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/psl.c
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ static int is_public_suffix(const psl_ctx_t *psl, const char *domain, int type)

for (p = domain; *p; p++) {
if (*p == '.') {
if (suffix.nlabels == 255) // weird input, avoid 8bit overflow
if (suffix.nlabels == 255) /* weird input, avoid 8bit overflow */
return 0;
suffix.nlabels++;
}
Expand Down

0 comments on commit ebf63cb

Please sign in to comment.