38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
|
diff -cr curlftpfs-0.9.2/ftpfs-ls.c curlftpfs-0.9.2-1/ftpfs-ls.c
|
||
|
*** curlftpfs-0.9.2/ftpfs-ls.c 2008-04-23 12:55:41.000000000 +0200
|
||
|
--- curlftpfs-0.9.2-1/ftpfs-ls.c 2009-09-24 23:19:03.000000000 +0200
|
||
|
***************
|
||
|
*** 58,64 ****
|
||
|
"%5s" "%*c"
|
||
|
"%1023c",
|
||
|
mode, &nlink, user, group, &size, month, day, year, file);
|
||
|
! if (res < 9) {
|
||
|
res = sscanf(line,
|
||
|
"%11s"
|
||
|
"%32s" SPACES
|
||
|
--- 58,64 ----
|
||
|
"%5s" "%*c"
|
||
|
"%1023c",
|
||
|
mode, &nlink, user, group, &size, month, day, year, file);
|
||
|
! if (res < 8) {
|
||
|
res = sscanf(line,
|
||
|
"%11s"
|
||
|
"%32s" SPACES
|
||
|
***************
|
||
|
*** 69,75 ****
|
||
|
"%5s" "%*c"
|
||
|
"%1023c",
|
||
|
mode, user, group, &size, month, day, year, file);
|
||
|
! if (res < 8) {
|
||
|
return 0;
|
||
|
}
|
||
|
}
|
||
|
--- 69,75 ----
|
||
|
"%5s" "%*c"
|
||
|
"%1023c",
|
||
|
mode, user, group, &size, month, day, year, file);
|
||
|
! if (res < 7) {
|
||
|
return 0;
|
||
|
}
|
||
|
}
|