Fixed C++ comments.
[ira/wip.git] / testsuite / libsmbclient / src / getdents / getdents_3.c
index aa22caa4d40521270d739482710c5ec1f0e7b4f3..58c8f709a96e60955440e6088e0aff636067ce3c 100644 (file)
@@ -102,7 +102,7 @@ int main(int argc, char** argv)
                while ( diramount > 0 )
                {
                        direntsize = dirptr->dirlen;
-                       //printf("Name: %s\n",dirptr->name);
+                       /* printf("Name: %s\n",dirptr->name); */
                        if ( j == 0 )
                        {
                                if ( !(( strncmp(dirptr->name,".",1) == 0 )) ) 
@@ -125,7 +125,7 @@ int main(int argc, char** argv)
                                        memcpy(tmp_file_ptr,buff,strlen(buff)+4);
                                        strncat(tmp_file_ptr,".txt",4);
 
-                                       if ( !(( strcmp(dirptr->name,file_url) == 0 )) ) // make sure entries match
+                                       if ( !((strcmp(dirptr->name,file_url) == 0 )) ) /* make sure entries match */
                                        {
                                                err = 1;
                                                break;
@@ -143,7 +143,7 @@ int main(int argc, char** argv)
        
                if ( ! err )
                {
-                       if ( (j - 2) != entry_num ) // Make sure that all entries created are counted and returned - minus . and ..
+                       if ( (j - 2) != entry_num ) /* Make sure that all entries created are counted and returned - minus . and .. */
                                err = 1;
                }