Return to sftp-server.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.54, 2006/03/25 00:05:41 | version 1.55, 2006/03/25 01:13:23 | ||
---|---|---|---|
|
|
||
while ((dp = readdir(dirp)) != NULL) { | while ((dp = readdir(dirp)) != NULL) { | ||
if (count >= nstats) { | if (count >= nstats) { | ||
nstats *= 2; | nstats *= 2; | ||
stats = xrealloc(stats, nstats * sizeof(Stat)); | stats = xrealloc(stats, nstats, sizeof(Stat)); | ||
} | } | ||
/* XXX OVERFLOW ? */ | /* XXX OVERFLOW ? */ | ||
snprintf(pathname, sizeof pathname, "%s%s%s", path, | snprintf(pathname, sizeof pathname, "%s%s%s", path, |