diff options
author | Tim Potter <tpot@samba.org> | 2002-04-03 02:51:42 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-04-03 02:51:42 +0000 |
commit | 62946015c0b0f72dc33b7d19527c47db1fc5312b (patch) | |
tree | 8e7769aab7fc7a582d1915878985c4d7ea1805c1 /testsuite/libsmbclient/src/getdents | |
parent | f624d6f3aef760f16570e030966eb4dc07fd81ec (diff) | |
download | samba-62946015c0b0f72dc33b7d19527c47db1fc5312b.tar.gz samba-62946015c0b0f72dc33b7d19527c47db1fc5312b.tar.bz2 samba-62946015c0b0f72dc33b7d19527c47db1fc5312b.zip |
Fixed C++ comments.
(This used to be commit ca56042c032e95ff3e1e40ae9e89a0b847d83081)
Diffstat (limited to 'testsuite/libsmbclient/src/getdents')
-rw-r--r-- | testsuite/libsmbclient/src/getdents/getdents_1.c | 4 | ||||
-rw-r--r-- | testsuite/libsmbclient/src/getdents/getdents_2.c | 4 | ||||
-rw-r--r-- | testsuite/libsmbclient/src/getdents/getdents_3.c | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/libsmbclient/src/getdents/getdents_1.c b/testsuite/libsmbclient/src/getdents/getdents_1.c index 96fa45cc10..6e253f78c5 100644 --- a/testsuite/libsmbclient/src/getdents/getdents_1.c +++ b/testsuite/libsmbclient/src/getdents/getdents_1.c @@ -31,8 +31,8 @@ int main(int argc, char** argv) { int err = -1; int dh = 0; - //int dirsize = 0; - //int dircount = 0; + /* int dirsize = 0; */ + /* int dircount = 0; */ struct smbc_dirent *dirptr; diff --git a/testsuite/libsmbclient/src/getdents/getdents_2.c b/testsuite/libsmbclient/src/getdents/getdents_2.c index 9d9d5b0b18..e7eb959a8f 100644 --- a/testsuite/libsmbclient/src/getdents/getdents_2.c +++ b/testsuite/libsmbclient/src/getdents/getdents_2.c @@ -31,8 +31,8 @@ int main(int argc, char** argv) { int err = -1; int dh = 0; - //int dirsize = 0; - //int dircount = 0; + /* int dirsize = 0; */ + /* int dircount = 0; */ struct smbc_dirent *dirptr; diff --git a/testsuite/libsmbclient/src/getdents/getdents_3.c b/testsuite/libsmbclient/src/getdents/getdents_3.c index aa22caa4d4..58c8f709a9 100644 --- a/testsuite/libsmbclient/src/getdents/getdents_3.c +++ b/testsuite/libsmbclient/src/getdents/getdents_3.c @@ -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; } |