[riot-commits] [RIOT-OS/RIOT] 7584ff: destiny: fixed condition for error handling

Christian Mehlis mehlis at inf.fu-berlin.de
Thu Jun 12 09:55:39 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 7584ffe887bdae95a961dbe9c59216dfc3086987
      https://github.com/RIOT-OS/RIOT/commit/7584ffe887bdae95a961dbe9c59216dfc3086987
  Author: Cenk Gündoğan <cnkgndgn at gmail.com>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M sys/net/transport_layer/destiny/socket.c

  Log Message:
  -----------
  destiny: fixed condition for error handling
send_tcp returns either the length of the sent data,
or -1, if an error was detected.

The current implementation checks for != 1.
This results in executing the error case, although
there was semantically no error returned from send_tcp.


  Commit: 50a07d98745eeb909a5e18635c7efcce9117295d
      https://github.com/RIOT-OS/RIOT/commit/50a07d98745eeb909a5e18635c7efcce9117295d
  Author: Christian Mehlis <mehlis at inf.fu-berlin.de>
  Date:   2014-06-12 (Thu, 12 Jun 2014)

  Changed paths:
    M sys/net/transport_layer/destiny/socket.c

  Log Message:
  -----------
  Merge pull request #1280 from cgundogan/fix_send_tcp_error_check

destiny: fixed condition for error handling of send_tcp in destiny_socket_send


Compare: https://github.com/RIOT-OS/RIOT/compare/b4fceaca8946...50a07d98745e


More information about the commits mailing list