s3:smbd: s/EVENT_FD/TEVENT_FD
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2013 09:18:57 +0000 (10:18 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2013 22:47:56 +0000 (23:47 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/process.c

index 0d98a2f2f8f231aa234002588b6180538ee44cda..0410f16fdc73ce5f83eeab1d365af33c8c04b763 100644 (file)
@@ -2436,11 +2436,11 @@ static void smbd_server_connection_handler(struct tevent_context *ev,
        struct smbd_server_connection *conn = talloc_get_type(private_data,
                                              struct smbd_server_connection);
 
-       if (flags & EVENT_FD_WRITE) {
+       if (flags & TEVENT_FD_WRITE) {
                smbd_server_connection_write_handler(conn);
                return;
        }
-       if (flags & EVENT_FD_READ) {
+       if (flags & TEVENT_FD_READ) {
                smbd_server_connection_read_handler(conn, conn->sock);
                return;
        }
@@ -2454,11 +2454,11 @@ static void smbd_server_echo_handler(struct tevent_context *ev,
        struct smbd_server_connection *conn = talloc_get_type(private_data,
                                              struct smbd_server_connection);
 
-       if (flags & EVENT_FD_WRITE) {
+       if (flags & TEVENT_FD_WRITE) {
                smbd_server_connection_write_handler(conn);
                return;
        }
-       if (flags & EVENT_FD_READ) {
+       if (flags & TEVENT_FD_READ) {
                smbd_server_connection_read_handler(
                        conn, conn->smb1.echo_handler.trusted_fd);
                return;