Skip to content

Commit

Permalink
more straightforward compare
Browse files Browse the repository at this point in the history
  • Loading branch information
dovholuknf committed Oct 17, 2024
1 parent 2d7e9e6 commit 782730f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ int ziti_load_config(ziti_config *cfg, const char* cfgstr) {
while (*cfgstr && isspace((unsigned char)*cfgstr)) {

Check warning on line 55 in library/config.c

View workflow job for this annotation

GitHub Actions / Linux ARM

implicit declaration of function 'isspace' [-Wimplicit-function-declaration]

Check warning on line 55 in library/config.c

View workflow job for this annotation

GitHub Actions / Linux ARM64

implicit declaration of function 'isspace' [-Wimplicit-function-declaration]

Check failure on line 55 in library/config.c

View workflow job for this annotation

GitHub Actions / MacOS arm64

call to undeclared library function 'isspace' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

Check failure on line 55 in library/config.c

View workflow job for this annotation

GitHub Actions / MacOS x86_64

call to undeclared library function 'isspace' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

Check warning on line 55 in library/config.c

View workflow job for this annotation

GitHub Actions / Linux x86_64

implicit declaration of function 'isspace' [-Wimplicit-function-declaration]
c++;
}
if (strncmp(c,"{",1) == 0) {
if (*c == '{') {
seems_like_json = true;
}

Expand Down

0 comments on commit 782730f

Please sign in to comment.