[syslog-ng] [PATCH 0/1] [RESEND] libmongo-client: Add support for Unix sockets

Conrad Hoffmann ch at bitfehler.net
Tue Aug 14 22:40:39 CEST 2012


Hey once more.

Here is a first revision of my earlier patch.

Changes to last version:

 - Better error handling/input checking (thanks to Balazs for the feedback)
 - Free everything that was allocated before bailing out after errors
 - Some style fixes, hope it's ok now

Further feedback welcome!

Conrad Hoffmann (1):
  Add support for Unix sockets.

 examples/mongo-dump.c | 22 +++++++++++++++++-----
 src/mongo-client.c    | 39 +++++++++++++++++++++++++++++++++++++++
 src/mongo-client.h    | 12 ++++++++++++
 src/mongo-sync.c      | 23 +++++++++++++++++++++++
 src/mongo-sync.h      | 15 +++++++++++++++
 5 files changed, 106 insertions(+), 5 deletions(-)

-- 
1.7.11.4



More information about the syslog-ng mailing list