Fix Coverity ID 587
commit5f082003bdd0bb06b391cb0dd0cf6287ba3b99c8
authorVolker Lendecke <vl@sernet.de>
Mon, 1 Sep 2008 11:46:27 +0000 (1 13:46 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 1 Sep 2008 11:52:47 +0000 (1 13:52 +0200)
tree803a233580f6879b9dd8ab0fd4bf0036fc10c4c9
parent9d6bfc6c216304f31456cf181dc5e23824e2e54f
Fix Coverity ID 587

The following test program prints "8" on 64-bit :-)

static void print_size(const char lenbuf[4])
{
        printf("sizeof(lenbuf) = %d\n", (int)sizeof(lenbuf));
}
int main(void)
{
        const char lenbuf[4];
        print_size(lenbuf);
        return 0;
}

Jeremy, please check :-)

Volker
(cherry picked from commit 9daea0ccfdda58450be3c9a9a94c016f5900c319)
source/smbd/process.c