The Samba-Bugzilla – Attachment 1994 Details for
Bug 3886
utils/eventlogadm.c: "srcname", "eventlogname" set but never used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Delete use of "srcname" and "eventlogname"
eventlogadm.patch (text/plain), 957 bytes, created by
Jason Mader (mail bounces back)
on 2006-06-28 12:18:01 UTC
(
hide
)
Description:
Delete use of "srcname" and "eventlogname"
Filename:
MIME Type:
Creator:
Jason Mader (mail bounces back)
Created:
2006-06-28 12:18:01 UTC
Size:
957 bytes
patch
obsolete
>Index: utils/eventlogadm.c >=================================================================== >--- utils/eventlogadm.c (revision 16620) >+++ utils/eventlogadm.c (working copy) >@@ -161,7 +161,6 @@ > { > int opt, rc; > char *exename; >- char *srcname, *eventlogname; > > > fstring opname; >@@ -173,7 +172,6 @@ > lp_load( dyn_CONFIGFILE, True, False, False, True); > > exename = argv[0]; >- srcname = NULL; > > /* default */ > >@@ -190,7 +188,7 @@ > break; > > case 'h': >- usage( argv[0] ); >+ usage( exename ); > display_eventlog_names( ); > exit( 0 ); > break; >@@ -211,11 +209,9 @@ > } > > /* note that the separate command types should call usage if they need to... */ >- eventlogname = *argv; > while ( 1 ) { > if ( !StrCaseCmp( opname, "addsource" ) ) { >- rc = DoAddSourceCommand( argc, argv, opt_debug, >- exename ); >+ rc = DoAddSourceCommand( argc, argv, opt_debug, exename ); > break; > } > if ( !StrCaseCmp( opname, "write" ) ) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3886
: 1994