mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
gpgscm: Fix setting the line of the first gc reservation.
* tests/gpgscm/scheme.c (_gc_disable): Negate guard. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
489edf84c9
commit
d27a4435bd
@ -794,7 +794,7 @@ _gc_disable(struct scheme *sc, size_t reserve, int lineno)
|
|||||||
if (sc->inhibit_gc == 0) {
|
if (sc->inhibit_gc == 0) {
|
||||||
reserve_cells(sc, (reserve));
|
reserve_cells(sc, (reserve));
|
||||||
sc->reserved_cells = (reserve);
|
sc->reserved_cells = (reserve);
|
||||||
#ifndef NDEBUG
|
#ifdef NDEBUG
|
||||||
(void) lineno;
|
(void) lineno;
|
||||||
#else
|
#else
|
||||||
sc->reserved_lineno = lineno;
|
sc->reserved_lineno = lineno;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user