| 190 if (S_ISDIR(s.st_mode)) { |
190 if (S_ISDIR(s.st_mode)) { |
| 191 download->isdirectory = TRUE; |
191 download->isdirectory = TRUE; |
| 192 } |
192 } |
| 193 } |
193 } |
| 194 |
194 |
| 195 CxList *stack = cxLinkedListCreateSimple(sizeof(DlStackElm)); |
195 CxList *stack = cxLinkedListCreate(NULL, sizeof(DlStackElm)); |
| 196 |
196 |
| 197 // add selected files to the download queue |
197 // add selected files to the download queue |
| 198 DavResource *res = download->reslist; |
198 DavResource *res = download->reslist; |
| 199 while (res) { |
199 while (res) { |
| 200 DlStackElm elm; |
200 DlStackElm elm; |