File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -916,14 +916,14 @@ main (int argc, char *argv[])
916
916
printf ("Running on GitHub Actions\n" );
917
917
gchar * zsyncmake_path = g_find_program_in_path ("zsyncmake" );
918
918
if (zsyncmake_path ) {
919
- if (strstr (github_ref , "/pull/" )) {
919
+ if (strstr (github_ref , "/pull/" ) != NULL ) {
920
920
printf ("Will not calculate update information for GitHub because this is a pull request\n" );
921
921
} else {
922
922
printf ("Guessing update information based on $GITHUB_REPOSITORY=%s and $GITHUB_REF=%s\n" , github_repository , github_ref );
923
923
char buf [1024 ];
924
924
gchar * * parts = g_strsplit (github_repository , "/" , 2 );
925
925
char * channel ;
926
- if (strcmp (github_ref , "" ) != 0 && strstr (github_ref , "/continuous/" )) {
926
+ if (strcmp (github_ref , "" ) != 0 && strstr (github_ref , "/continuous/" ) != NULL ) {
927
927
channel = "latest" ;
928
928
} else {
929
929
channel = "continuous" ;
You can’t perform that action at this time.
0 commit comments