Misc. minor fixes

This commit is contained in:
Yorhel 2010-02-28 10:13:12 +01:00
parent 93a97381bd
commit 82ec5b9fa8
3 changed files with 4 additions and 3 deletions

View file

@ -131,7 +131,7 @@ struct dir *browse_sort(struct dir *list) {
void browse_draw_info(struct dir *dr) {
struct dir *t;
int i,j;
int i;
nccreate(11, 60, "Item info");

View file

@ -452,8 +452,10 @@ int calc_process() {
free(name);
free(path);
if(links != NULL)
if(links != NULL) {
free(links);
links = NULL;
}
/* success */
if(!n && !failed) {

View file

@ -31,7 +31,6 @@
#include <errno.h>
#include <unistd.h>
#include <limits.h>
#include <dirent.h>
#ifndef LINK_MAX
# ifdef _POSIX_LINK_MAX