X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fber_null.c;h=5e3cb940b75c91a95ce4e94d2aa33a34c1582f09;hp=078b80f52adf052f205962da5680e2bf711ae61a;hb=e529ed18a6825f980bb16b230e56c6d53743ced1;hpb=5242cb5a8634bfa38b9333ff7f903e718ac6e292 diff --git a/src/ber_null.c b/src/ber_null.c index 078b80f..5e3cb94 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) 1995-2013 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;