Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 649277 Details for
Bug 878940
spout/drain examples fixes and improvements
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch for spout.pl
spout.pl_patch (text/plain), 873 bytes, created by
Petr Matousek
on 2012-11-21 15:32:00 UTC
(
hide
)
Description:
patch for spout.pl
Filename:
MIME Type:
Creator:
Petr Matousek
Created:
2012-11-21 15:32:00 UTC
Size:
873 bytes
patch
obsolete
>--- spout.pl 2012-11-21 15:23:35.520359209 +0100 >+++ spoutV2.pl 2012-11-21 15:33:04.208401738 +0100 >@@ -44,19 +44,18 @@ > "property|p=s@" => \ @properties, > "map|m=s@" => \ @entries, > "content=s" => \ $content, >- "connection-options=s" => \ $connectionOptions, >-); >- >- >-if (! $result) { >- print "Usage: perl drain.pl [OPTIONS]\n"; >-} >- >+ "connection-options=s" => \ $connectionOptions, >+ "help|h" => \ &usage >+) or usage(); > > if ($#ARGV ge 0) { > $address = $ARGV[0] > } > >+sub usage { >+ print "Usage: perl drain.pl [OPTIONS]\n"; >+ exit; >+} > > sub setEntries { > my ($content) = @_; >@@ -73,7 +72,7 @@ > > foreach (@properties) { > my ($name, $value) = split("=", $_); >- $message->getProperties()->{$name} = $value; >+ $message->setProperty($name, $value); > } > } >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 878940
:
649277
|
649278
|
652226