1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

s3: Fix the build, NAME_MAX not universally available

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Jun 20 13:45:21 CEST 2011 on sn-devel-104
This commit is contained in:
Volker Lendecke 2011-06-20 12:09:06 +02:00 committed by Volker Lendecke
parent f0ff6f390a
commit dc461cade5

View File

@ -144,7 +144,7 @@ static char *shadow_copy2_insert_string(TALLOC_CTX *mem_ctx,
time_t snapshot)
{
struct tm snap_tm;
char gmt[NAME_MAX+1];
fstring gmt;
size_t gmt_len;
if (localtime_r(&snapshot, &snap_tm) == 0) {