|
|
@ -640,7 +640,7 @@ maildir_scan( maildir_store_t *ctx, msglist_t *msglist ) |
|
|
|
if (u) |
|
|
|
if (u) |
|
|
|
ml = u - entry->base; |
|
|
|
ml = u - entry->base; |
|
|
|
else |
|
|
|
else |
|
|
|
ru = "", ml = INT_MAX; |
|
|
|
ru = "", ml = sizeof(buf); |
|
|
|
fnl = nfsnprintf( buf + bl, sizeof(buf) - bl, "%s/%.*s,U=%d%s", subdirs[entry->recent], ml, entry->base, uid, ru ) + 1 - 4; |
|
|
|
fnl = nfsnprintf( buf + bl, sizeof(buf) - bl, "%s/%.*s,U=%d%s", subdirs[entry->recent], ml, entry->base, uid, ru ) + 1 - 4; |
|
|
|
memcpy( nbuf, buf, bl + 4 ); |
|
|
|
memcpy( nbuf, buf, bl + 4 ); |
|
|
|
nfsnprintf( nbuf + bl + 4, sizeof(nbuf) - bl - 4, "%s", entry->base ); |
|
|
|
nfsnprintf( nbuf + bl + 4, sizeof(nbuf) - bl - 4, "%s", entry->base ); |
|
|
|