summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-02-14 22:24:49 +0000
committerGerald Carter <jerry@samba.org>2003-02-14 22:24:49 +0000
commit4f6c2ab8957c39119afecc33718d457fa59bd874 (patch)
tree3cd7c68405a2dba3e342f0133b29b4066f9cbc90 /source3/printing
parentbfdf6c90530be5c407a4ba7b67ac32a954ce6c5e (diff)
downloadsamba-4f6c2ab8957c39119afecc33718d457fa59bd874.tar.gz
samba-4f6c2ab8957c39119afecc33718d457fa59bd874.tar.bz2
samba-4f6c2ab8957c39119afecc33718d457fa59bd874.zip
off by one bug in string length; CR 1159
(This used to be commit 4b5b0bcd9092a6003e3494dda949e03e803ec0aa)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/notify.c b/source3/printing/notify.c
index 2df28a9345..c344edb8d8 100644
--- a/source3/printing/notify.c
+++ b/source3/printing/notify.c
@@ -437,7 +437,7 @@ void notify_printer_byname( char *printername, uint32 change, char *value )
if ( snum == -1 )
return;
- send_notify_field_buffer( printername, type, change, snum, strlen(value), value );
+ send_notify_field_buffer( printername, type, change, snum, strlen(value)+1, value );
}