summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 10:53:02 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:48:01 +0100
commitabf8e166b8a23b256fada0f317cf552cc4f53ec1 (patch)
tree14bd7319254c426babc2ad5bc10a87da0d172c8e
parente5f6250ae26ba103b1682ae933b61732247795e8 (diff)
downloadsamba-abf8e166b8a23b256fada0f317cf552cc4f53ec1.tar.gz
samba-abf8e166b8a23b256fada0f317cf552cc4f53ec1.tar.xz
samba-abf8e166b8a23b256fada0f317cf552cc4f53ec1.zip
s3:printing: s/event_add_fd/tevent_add_fd and s/EVENT_FD_/TEVENT_FD_
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--source3/printing/print_cups.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index 396f81802b..6c1e9ce23c 100644
--- a/source3/printing/print_cups.c
+++ b/source3/printing/print_cups.c
@@ -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) {