Review Request: connect return value tested instead of errno

Lambert CLARA lambert.clara at yahoo.fr
Mon Mar 28 09:38:14 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100959/
-----------------------------------------------------------

(Updated March 28, 2011, 9:38 a.m.)


Review request for KDevelop.


Changes
-------

Remove whitespace changes (sorry I forgot -b when formatting patch !)


Summary
-------

The connect() system call returns 0 if successful, and if not returns -1 and sets errno.
The return value of connect was tested instead of errno, this patch fixes that.


Diffs (updated)
-----

  util/dbus_socket_transformer/main.cpp 17019ce 

Diff: http://git.reviewboard.kde.org/r/100959/diff


Testing
-------

Compilation only.


Thanks,

Lambert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110328/2313807f/attachment.html>


More information about the KDevelop-devel mailing list