summaryrefslogtreecommitdiff
path: root/lib/tevent/tevent_standard.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-02 13:39:56 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-02 18:16:53 +0100
commit4f04b06ac2cfceddaabcbf661f9878ff69a6f01b (patch)
tree96788f8f0e71b9e517b63ba53f9e31ac8133626e /lib/tevent/tevent_standard.c
parentd79fc2ffcd9802d927f82f014c2b13c7eb8cc873 (diff)
downloadsamba-4f04b06ac2cfceddaabcbf661f9878ff69a6f01b.tar.gz
samba-4f04b06ac2cfceddaabcbf661f9878ff69a6f01b.tar.bz2
samba-4f04b06ac2cfceddaabcbf661f9878ff69a6f01b.zip
tevent: rename ev_debug_ops => tevent_debug_ops
And related changes, but we keep compat macros metze
Diffstat (limited to 'lib/tevent/tevent_standard.c')
-rw-r--r--lib/tevent/tevent_standard.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/tevent/tevent_standard.c b/lib/tevent/tevent_standard.c
index 05310a5864..762b834952 100644
--- a/lib/tevent/tevent_standard.c
+++ b/lib/tevent/tevent_standard.c
@@ -71,9 +71,9 @@ struct std_event_context {
*/
static void epoll_fallback_to_select(struct std_event_context *std_ev, const char *reason)
{
- ev_debug(std_ev->ev, EV_DEBUG_FATAL,
- "%s (%s) - falling back to select()\n",
- reason, strerror(errno));
+ tevent_debug(std_ev->ev, TEVENT_DEBUG_FATAL,
+ "%s (%s) - falling back to select()\n",
+ reason, strerror(errno));
close(std_ev->epoll_fd);
std_ev->epoll_fd = -1;
talloc_set_destructor(std_ev, NULL);
@@ -130,8 +130,8 @@ static void epoll_check_reopen(struct std_event_context *std_ev)
close(std_ev->epoll_fd);
std_ev->epoll_fd = epoll_create(64);
if (std_ev->epoll_fd == -1) {
- ev_debug(std_ev->ev, EV_DEBUG_FATAL,
- "Failed to recreate epoll handle after fork\n");
+ tevent_debug(std_ev->ev, TEVENT_DEBUG_FATAL,
+ "Failed to recreate epoll handle after fork\n");
return;
}
std_ev->pid = getpid();
@@ -516,8 +516,8 @@ static int std_event_loop_select(struct std_event_context *std_ev, struct timeva
made readable and that should have removed
the event, so this must be a bug. This is a
fatal error. */
- ev_debug(std_ev->ev, EV_DEBUG_FATAL,
- "ERROR: EBADF on std_event_loop_once\n");
+ tevent_debug(std_ev->ev, TEVENT_DEBUG_FATAL,
+ "ERROR: EBADF on std_event_loop_once\n");
std_ev->exit_code = EBADF;
return -1;
}