svn commit: samba r16655 - in trunk/source/utils: .

jra at samba.org jra at samba.org
Wed Jun 28 21:56:02 GMT 2006


Author: jra
Date: 2006-06-28 21:55:59 +0000 (Wed, 28 Jun 2006)
New Revision: 16655

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16655

Log:
Fix #3894 and #3895 reported by jason at ncac.gwu.edu.
Jeremy.

Modified:
   trunk/source/utils/eventlogadm.c


Changeset:
Modified: trunk/source/utils/eventlogadm.c
===================================================================
--- trunk/source/utils/eventlogadm.c	2006-06-28 21:52:56 UTC (rev 16654)
+++ trunk/source/utils/eventlogadm.c	2006-06-28 21:55:59 UTC (rev 16655)
@@ -89,7 +89,7 @@
 	pstring linein;
 	BOOL is_eor;
 	Eventlog_entry ee;
-	int pret, rcnum;
+	int rcnum;
 
 	f1 = stdin;
 	if ( !f1 ) {
@@ -121,7 +121,7 @@
 		is_eor = False;
 
 
-		pret = parse_logentry( ( char * ) &linein, &ee, &is_eor );
+		parse_logentry( ( char * ) &linein, &ee, &is_eor );
 		/* should we do something with the return code? */
 
 		if ( is_eor ) {
@@ -188,7 +188,7 @@
 			break;
 
 		case 'h':
-			usage( argv[0] );
+			usage( exename );
 			display_eventlog_names(  );
 			exit( 0 );
 			break;



More information about the samba-cvs mailing list