summaryrefslogtreecommitdiff
path: root/webapps
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-01-22 03:33:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:43:57 -0500
commit4109edc5b651cddd15d1d3c1f84f93f9355bf8ee (patch)
tree50f6698b539431365489018926b95b926a622372 /webapps
parent30bfba96d3b7007aa47e037328ea0f2b8e7d1d6e (diff)
downloadsamba-4109edc5b651cddd15d1d3c1f84f93f9355bf8ee.tar.gz
samba-4109edc5b651cddd15d1d3c1f84f93f9355bf8ee.tar.bz2
samba-4109edc5b651cddd15d1d3c1f84f93f9355bf8ee.zip
r20943: use offsetof() instead of sizeof() - 1 for the packet length
calculations. It will be interesting to see how portable this is. The advantage over the sizeof() method is that it avoids padding problems after the data[1] array. That was causing us to get valgrind errors. (This used to be commit fd8e46043903d3650f8f33dcab165800f6869b1d)
Diffstat (limited to 'webapps')
0 files changed, 0 insertions, 0 deletions