remove debugging

This commit is contained in:
Andrew Pamment 2018-05-26 21:23:04 +10:00
parent 067aebc794
commit 718517887f

View File

@ -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 *));