summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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 );
}