remove debugging
This commit is contained in:
parent
067aebc794
commit
718517887f
@ -156,7 +156,6 @@ int main(int argc, char **argv) {
|
|||||||
len = FtpRead(buffer, PATH_MAX-1, nd);
|
len = FtpRead(buffer, PATH_MAX-1, nd);
|
||||||
while(len != -1 && len != 0) {
|
while(len != -1 && len != 0) {
|
||||||
buffer[len-1] = '\0';
|
buffer[len-1] = '\0';
|
||||||
printf("%s\n", buffer);
|
|
||||||
if (strcmp(buffer, "..") != 0 && strcmp(buffer, ".") != 0) {
|
if (strcmp(buffer, "..") != 0 && strcmp(buffer, ".") != 0) {
|
||||||
if (file_count == 0) {
|
if (file_count == 0) {
|
||||||
filenames = (char **)malloc(sizeof(char *));
|
filenames = (char **)malloc(sizeof(char *));
|
||||||
|
Reference in New Issue
Block a user