summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-13 09:48:25 +0200
committerMichael Adam <obnox@samba.org>2012-06-14 16:55:58 +0200
commit2fd28dc4cf4f40a690adfd846911e4da1a776bf2 (patch)
treeac85c35f2026ad95f024a7d8dae611d645751652 /librpc
parentbc9003dd90072191822813d15b26ef850399c1e8 (diff)
downloadsamba-2fd28dc4cf4f40a690adfd846911e4da1a776bf2.tar.gz
samba-2fd28dc4cf4f40a690adfd846911e4da1a776bf2.tar.bz2
samba-2fd28dc4cf4f40a690adfd846911e4da1a776bf2.zip
s3: Simplify tdb_data_is_cstr a bit
The original code contained rawmemchr for performance reasons. I would expect the very common strlen routine to be not much worse performance-wise than rawmemchr. On top, for me this patch simplifies the expression a bit. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Jun 14 16:55:58 CEST 2012 on sn-devel-104
Diffstat (limited to 'librpc')
0 files changed, 0 insertions, 0 deletions