Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit d223d0f

Browse files
authored
Correction as a result of warning message 'comparison of string literals'
1 parent 77446a3 commit d223d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openifs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ int main(int argc, char** argv) {
677677
//fprintf(stderr,"strTmp: %s\n",strTmp);
678678
strncpy(result_base_name, stripPath(strTmp), strlen(stripPath(strTmp))-6);
679679
fprintf(stderr,"result_base_name: %s\n",result_base_name);
680-
if (result_base_name=="upload_file") {
680+
if (strcmp(result_base_name,"upload_file")==0) {
681681
fprintf(stderr,"..Failed to get result name\n");
682682
return 1;
683683
}

0 commit comments

Comments
 (0)