s3/swat: use strlcat instead of strncat to fix build on old Linux distros
authorBjörn Jacke <bj@sernet.de>
Thu, 4 Aug 2011 14:25:08 +0000 (16:25 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Aug 2011 11:26:12 +0000 (13:26 +0200)
commit552ccc6588b0744ae9b3731b1406749baea03d5a
tree8d3faf9295fa0b9cf39d7998062303de21d3a8fb
parent34b8765d894f13490fab734ee91bd53e235d10e6
s3/swat: use strlcat instead of strncat to fix build on old Linux distros

SLES 9's glibc for example had weird macros where the use of strncat resulted
in the use of strcat which we don't allow.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Thu Aug  4 17:50:24 CEST 2011 on sn-devel-104
(cherry picked from commit d3b4d75364210e2d2a4a1cd806f28b0021f22909)

Fix bug #8362 (build issue on old glibc systems).
(cherry picked from commit 87fa72a5202fe3780d4a61289bf755027cd078f4)
source3/web/swat.c