The Samba-Bugzilla – Attachment 1995 Details for
Bug 3894
utils/eventlogadm.c: "pret" is set but never used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Change the use of pret
eventlogadm.patch (text/plain), 600 bytes, created by
Jason Mader (mail bounces back)
on 2006-06-28 15:21:47 UTC
(
hide
)
Description:
Change the use of pret
Filename:
MIME Type:
Creator:
Jason Mader (mail bounces back)
Created:
2006-06-28 15:21:47 UTC
Size:
600 bytes
patch
obsolete
>Index: eventlogadm.c >=================================================================== >--- eventlogadm.c (revision 16640) >+++ eventlogadm.c (working copy) >@@ -87,9 +87,9 @@ > > /* fixed constants are bad bad bad */ > pstring linein; >- BOOL is_eor; >+ BOOL is_eor, pret; > Eventlog_entry ee; >- int pret, rcnum; >+ int rcnum; > > f1 = stdin; > if ( !f1 ) { >@@ -122,9 +122,8 @@ > > > pret = parse_logentry( ( char * ) &linein, &ee, &is_eor ); >- /* should we do something with the return code? */ > >- if ( is_eor ) { >+ if ( pret && is_eor ) { > fixup_eventlog_entry( &ee ); > > if ( opt_debug )
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 3894
: 1995