summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-05 10:22:50 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-05 15:07:35 +0100
commitc34d5f445aae8180650dd2cae994bd5573870c04 (patch)
treec5787935da005402ce64fda6890a1137363235f1 /source3/printing
parentee5be748e64f6c8f4814ff322e38511a9a65f4fc (diff)
downloadsamba-c34d5f445aae8180650dd2cae994bd5573870c04.tar.gz
samba-c34d5f445aae8180650dd2cae994bd5573870c04.tar.bz2
samba-c34d5f445aae8180650dd2cae994bd5573870c04.zip
s3:events: change event_add_timed() prototype to match samba4
metze
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/notify.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/printing/notify.c b/source3/printing/notify.c
index b24a8a52f5..860a400d64 100644
--- a/source3/printing/notify.c
+++ b/source3/printing/notify.c
@@ -221,7 +221,7 @@ void print_notify_send_messages(struct messaging_context *msg_ctx,
static void print_notify_event_send_messages(struct event_context *event_ctx,
struct timed_event *te,
- const struct timeval *now,
+ struct timeval now,
void *private_data)
{
/* Remove this timed event handler. */
@@ -326,7 +326,6 @@ to notify_queue_head\n", msg->type, msg->field, msg->printer));
/* Add an event for 1 second's time to send this queue. */
notify_event = event_add_timed(smbd_event_context(), NULL,
timeval_current_ofs(1,0),
- "print_notify",
print_notify_event_send_messages, NULL);
}