Skip to content
Snippets Groups Projects
Commit 82ec5b9f authored by Yorhel's avatar Yorhel
Browse files

Misc. minor fixes

parent 93a97381
Branches
Tags
No related merge requests found
......@@ -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");
......
......@@ -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) {
......
......@@ -31,7 +31,6 @@
#include <errno.h>
#include <unistd.h>
#include <limits.h>
#include <dirent.h>
#ifndef LINK_MAX
# ifdef _POSIX_LINK_MAX
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment