mirror of
https://github.com/samba-team/samba.git
synced 2025-03-03 12:58:35 +03:00
s3-eventlog: remove add_record_to_resp.
Guenther
This commit is contained in:
parent
96fd6b5a01
commit
abb4faf813
@ -350,32 +350,6 @@ done:
|
||||
return ret;
|
||||
}
|
||||
|
||||
/********************************************************************
|
||||
********************************************************************/
|
||||
|
||||
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
|
||||
********************************************************************/
|
||||
|
Loading…
x
Reference in New Issue
Block a user