X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fber_null.c;h=6e54de3ba8fd23ba8545a197bf6f44a2fdae825e;hp=078b80f52adf052f205962da5680e2bf711ae61a;hb=171fd9ec0fba5789a6d14b733f77bbfe90df5512;hpb=5242cb5a8634bfa38b9333ff7f903e718ac6e292 diff --git a/src/ber_null.c b/src/ber_null.c index 078b80f..6e54de3 100644 --- a/src/ber_null.c +++ b/src/ber_null.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data + * Copyright (C) Index Data * See the file LICENSE for details. */ @@ -33,7 +33,7 @@ int ber_null(ODR o) odr_seterror(o, OPROTO, 39); return 0; } - if (*(o->bp++) != 0X00) + if (*(o->op->bp++) != 0X00) { odr_seterror(o, OPROTO, 12); return 0;