summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss.c
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>2002-04-22 03:08:33 +0000
committerChristopher R. Hertel <crh@samba.org>2002-04-22 03:08:33 +0000
commit0fb9ea9fa45d28ea6660bab09998e704fd6502f8 (patch)
tree52e792fb4d0ed1f5d2d976fab4ed8f46e3c06bf2 /source3/rpc_server/srv_spoolss.c
parent86cf3b9f11a7ca756079ed2f9248415e13adb7f7 (diff)
downloadsamba-0fb9ea9fa45d28ea6660bab09998e704fd6502f8.tar.gz
samba-0fb9ea9fa45d28ea6660bab09998e704fd6502f8.tar.bz2
samba-0fb9ea9fa45d28ea6660bab09998e704fd6502f8.zip
My seven-year-old daughter calls me 'Captain Pedantic'. I don't know which
is freakier... the name or the fact that a seven-year-old knows what it means. Small change to correct the value we place in the DGM_LENGTH field of NBT Datagram messages. We have been counting the full datagram, but it's fairly clear in the RFCs that we should only count the source name, destination name, and payload. We've been overcharging by 14 bytes (the size of the NBT DGM header). This fix brings us in line with what Windows does, and what the RFCs say should be done. I'm a little surprised that this didn't cause any bugs or error messages. I guess no one actually checks this field. (This used to be commit 3156c020e5b6f12a448d58669977ad4449789460)
Diffstat (limited to 'source3/rpc_server/srv_spoolss.c')
0 files changed, 0 insertions, 0 deletions