edenhill/librdkafka — pull request #1 by bmilekic (2012-11-01 18:21:24+00:00)
Title: Bugfix in example code

Hey

Have a look at this bugfix. Without it the producer example code corrupts messages in some cases (e.g., when piping output from cat or similar into the example).

The fix I did works, but it's a bit quick. You can pull it in now, or wait until I do some more fixes.

Thank you for open-sourcing your work!

b