svn commit: samba r11763 - branches/SAMBA_3_0/source/utils
trunk/source/utils
jerry at samba.org
jerry at samba.org
Thu Nov 17 21:07:25 GMT 2005
Author: jerry
Date: 2005-11-17 21:07:24 +0000 (Thu, 17 Nov 2005)
New Revision: 11763
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11763
Log:
fix more build breakage
Modified:
branches/SAMBA_3_0/source/utils/eventlogadm.c
trunk/source/utils/eventlogadm.c
Changeset:
Modified: branches/SAMBA_3_0/source/utils/eventlogadm.c
===================================================================
--- branches/SAMBA_3_0/source/utils/eventlogadm.c 2005-11-17 21:03:22 UTC (rev 11762)
+++ branches/SAMBA_3_0/source/utils/eventlogadm.c 2005-11-17 21:07:24 UTC (rev 11763)
@@ -79,7 +79,7 @@
{
FILE *f1;
char *argfname;
- TDB_CONTEXT *elog_tdb;
+ ELOG_TDB *etdb;
/* fixed constants are bad bad bad */
pstring linein;
@@ -100,7 +100,7 @@
argfname = argv[0];
- if ( !( elog_tdb = elog_open_tdb( argfname ) ) ) {
+ if ( !( etdb = elog_open_tdb( argfname, False ) ) ) {
printf( "can't open the eventlog TDB (%s)\n", argfname );
return -1;
}
@@ -130,7 +130,7 @@
/* printf("Writing to the event log\n"); */
- rcnum = write_eventlog_tdb( elog_tdb, &ee );
+ rcnum = write_eventlog_tdb( ELOG_TDB_CTX(etdb), &ee );
if ( !rcnum ) {
printf( "Can't write to the event log\n" );
} else {
@@ -146,7 +146,7 @@
}
}
- tdb_close( elog_tdb );
+ elog_close_tdb( etdb , False );
return 0;
}
Modified: trunk/source/utils/eventlogadm.c
===================================================================
--- trunk/source/utils/eventlogadm.c 2005-11-17 21:03:22 UTC (rev 11762)
+++ trunk/source/utils/eventlogadm.c 2005-11-17 21:07:24 UTC (rev 11763)
@@ -79,7 +79,7 @@
{
FILE *f1;
char *argfname;
- TDB_CONTEXT *elog_tdb;
+ ELOG_TDB *etdb;
/* fixed constants are bad bad bad */
pstring linein;
@@ -100,7 +100,7 @@
argfname = argv[0];
- if ( !( elog_tdb = elog_open_tdb( argfname ) ) ) {
+ if ( !( etdb = elog_open_tdb( argfname, False ) ) ) {
printf( "can't open the eventlog TDB (%s)\n", argfname );
return -1;
}
@@ -130,7 +130,7 @@
/* printf("Writing to the event log\n"); */
- rcnum = write_eventlog_tdb( elog_tdb, &ee );
+ rcnum = write_eventlog_tdb( ELOG_TDB_CTX(etdb), &ee );
if ( !rcnum ) {
printf( "Can't write to the event log\n" );
} else {
@@ -146,7 +146,7 @@
}
}
- tdb_close( elog_tdb );
+ elog_close_tdb( etdb , False );
return 0;
}
More information about the samba-cvs
mailing list