diff options
author | Günther Deschner <gd@samba.org> | 2009-02-04 21:35:29 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-04 22:51:15 +0100 |
commit | abb4faf813dcc70435d4b47c94c50e0da004fa4f (patch) | |
tree | 135cd402af6f97191b0c898a60774bfa32936546 | |
parent | 96fd6b5a01cbc9f91ea818943e28036fba7cd248 (diff) | |
download | samba-abb4faf813dcc70435d4b47c94c50e0da004fa4f.tar.gz samba-abb4faf813dcc70435d4b47c94c50e0da004fa4f.tar.bz2 samba-abb4faf813dcc70435d4b47c94c50e0da004fa4f.zip |
s3-eventlog: remove add_record_to_resp.
Guenther
-rw-r--r-- | source3/rpc_server/srv_eventlog_nt.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/source3/rpc_server/srv_eventlog_nt.c b/source3/rpc_server/srv_eventlog_nt.c index 4a2ea2f2c0..697457888e 100644 --- a/source3/rpc_server/srv_eventlog_nt.c +++ b/source3/rpc_server/srv_eventlog_nt.c @@ -351,32 +351,6 @@ done: } /******************************************************************** - ********************************************************************/ - -static bool add_record_to_resp( EVENTLOG_R_READ_EVENTLOG * r_u, - Eventlog_entry * ee_new ) -{ - Eventlog_entry *insert_point; - - insert_point = r_u->entry; - - if ( NULL == insert_point ) { - r_u->entry = ee_new; - ee_new->next = NULL; - } else { - while ( ( NULL != insert_point->next ) ) { - insert_point = insert_point->next; - } - ee_new->next = NULL; - insert_point->next = ee_new; - } - r_u->num_records++; - r_u->num_bytes_in_resp += ee_new->record.length; - - return True; -} - -/******************************************************************** _eventlog_OpenEventLogW ********************************************************************/ |