Re: [PATCH] Functions for updating refs.
- From
Karl Hasselström <kha@treskal.com>
- Date
- Sep 4, 2007, 15:29 UTC
- Message-ID
- <20070904152901.GA31299@diana.vm.bytemark.co.uk>
- In-Reply-To
- <46DD7506.3090503@eudaptics.com>
On 2007-09-04 17:08:54 +0200, Johannes Sixt wrote:
Show 5 quoted lines
> Johannes Schindelin schrieb: > > > Well, my idea was to let _error() print the message, and just die(). > > How do you avoid that die() prints an error, too?
Make a generic function that takes a function pointer argument, then call it with die or error as appropriate.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle