summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-02-14 22:25:12 +0000
committerGerald Carter <jerry@samba.org>2003-02-14 22:25:12 +0000
commit89d480a93318d7055a8b710ac5a6437dd7da7575 (patch)
treeb40f8886a6396b69c2b1408f7ca41d0e12ccbd4e /source3/printing
parenta38e3008301079e64716bf03516018f020a1cb66 (diff)
downloadsamba-89d480a93318d7055a8b710ac5a6437dd7da7575.tar.gz
samba-89d480a93318d7055a8b710ac5a6437dd7da7575.tar.bz2
samba-89d480a93318d7055a8b710ac5a6437dd7da7575.zip
off by one bug in string length; CR 1159
(This used to be commit aaefa889ad9a065f976275a748be1011d66aa37e)
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 );
}