s4:web_server: s/private/private_data
authorStefan Metzmacher <metze@samba.org>
Mon, 2 Feb 2009 07:42:38 +0000 (08:42 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 2 Feb 2009 12:08:37 +0000 (13:08 +0100)
metze

source4/web_server/web_server.c

index c79fa8c7530004203f617076ccdc54eb3d243c78..9d1d160ae723dbd0254b68f57e29de4d0a9abb29 100644 (file)
@@ -50,9 +50,9 @@ static int websrv_destructor(struct websrv_context *web)
 */
 static void websrv_timeout(struct tevent_context *event_context, 
                           struct tevent_timer *te, 
-                          struct timeval t, void *private)
+                          struct timeval t, void *private_data)
 {
-       struct websrv_context *web = talloc_get_type(private, struct websrv_context);
+       struct websrv_context *web = talloc_get_type(private_data, struct websrv_context);
        struct stream_connection *conn = web->conn;
        web->conn = NULL;
        /* TODO: send a message to any running esp context on this connection