Mercurial > gftp.yaz
comparison src/gtk/gtkui_transfer.c @ 499:39e9945288ea
2004-7-13 Brian Masney <masneyb@gftp.org>
* lib/gftp.h lib/local.c lib/misc.c lib/protocols.c lib/rfc2068.c
lib/rfc959.c lib/sshv2.c src/gtk/chmod_dialog.c src/gtk/delete_dialog.c
src/gtk/dnd.c src/gtk/gftp-gtk.c src/gtk/gtkui_transfer.c
src/gtk/menu-items.c src/gtk/misc-gtk.c src/gtk/view_dialog.c
src/text/textui.c src/uicommon/gftpui.c src/uicommon/gftpuicallbacks.c -
represent the file attributes as a mode_t variable instead of a
character string
author | masneyb |
---|---|
date | Tue, 13 Jul 2004 20:17:42 +0000 |
parents | 14ef37b62c20 |
children | 5df46f79d9c1 |
comparison
equal
deleted
inserted
replaced
498:76c4e4cd108e | 499:39e9945288ea |
---|---|
277 | 277 |
278 for (templist = tdata->files; templist != NULL; | 278 for (templist = tdata->files; templist != NULL; |
279 templist = templist->next) | 279 templist = templist->next) |
280 { | 280 { |
281 tempfle = templist->data; | 281 tempfle = templist->data; |
282 if (tempfle->startsize == 0 || tempfle->isdir) | 282 if (tempfle->startsize == 0 || S_ISDIR (tempfle->st_mode)) |
283 { | 283 { |
284 tempfle->shown = 0; | 284 tempfle->shown = 0; |
285 continue; | 285 continue; |
286 } | 286 } |
287 tempfle->shown = 1; | 287 tempfle->shown = 1; |