Review Request: connect return value tested instead of errno

Lambert CLARA lambert.clara at yahoo.fr
Sun Mar 27 16:44:30 UTC 2011


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

Review request for KDevelop.


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
-----

  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/20110327/836b3456/attachment.html>


More information about the KDevelop-devel mailing list