s3:printing: s/event_add_fd/tevent_add_fd and s/EVENT_FD_/TEVENT_FD_
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2013 09:53:02 +0000 (10:53 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2013 22:48:01 +0000 (23:48 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/printing/print_cups.c

index 396f81802b8108a089f62582a1e9854cbbde8095..6c1e9ce23c80671c405ed4a04e41e19ba19eab34 100644 (file)
@@ -586,9 +586,9 @@ bool cups_cache_reload(struct tevent_context *ev,
                *p_pipe_fd ));
 
        /* Trigger an event when the pipe can be read. */
-       cache_fd_event = event_add_fd(ev,
+       cache_fd_event = tevent_add_fd(ev,
                                NULL, *p_pipe_fd,
-                               EVENT_FD_READ,
+                               TEVENT_FD_READ,
                                cups_async_callback,
                                (void *)cb_args);
        if (!cache_fd_event) {