137 sbuf_puts(out, uri); |
137 sbuf_puts(out, uri); |
138 sbuf_puts(out, "</h1><hr>\n\n"); |
138 sbuf_puts(out, "</h1><hr>\n\n"); |
139 |
139 |
140 //struct dirent *f; |
140 //struct dirent *f; |
141 VFS_ENTRY f; |
141 VFS_ENTRY f; |
142 while((vfs_readdir(dir, &f)) != NULL) { |
142 while(vfs_readdir(dir, &f)) { |
143 if(strcmp(f.name, ".") == 0 || strcmp(f.name, "..") == 0) { |
143 if(strcmp(f.name, ".") == 0 || strcmp(f.name, "..") == 0) { |
144 continue; |
144 continue; |
145 } |
145 } |
146 |
146 |
147 sstr_t filename = sstr(f.name); |
147 sstr_t filename = sstr(f.name); |