All of lore.kernel.org
 help / color / mirror / Atom feed
From: wim delvaux <wim.delvaux@adaptiveplanet.com>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: [Bluez-users] better return code handling in rfcomm command
Date: Fri, 10 Jan 2003 16:40:13 +0100	[thread overview]
Message-ID: <200301101640.13586.wim.delvaux@adaptiveplanet.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 339 bytes --]

Hi all,

just found out that some errors do not cause rfcomm to retrun with exit != 0
It seems that the 'func' field in the command jump table should return int and 
not void.

All commands can then return an error code (probably one that was generate by 
an deeper function) and cause exit to return proper return values.

Patch attached

[-- Attachment #2: patch.gz --]
[-- Type: application/x-gzip, Size: 1215 bytes --]

                 reply	other threads:[~2003-01-10 15:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200301101640.13586.wim.delvaux@adaptiveplanet.com \
    --to=wim.delvaux@adaptiveplanet.com \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.