X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fber_null.c;h=5e3cb940b75c91a95ce4e94d2aa33a34c1582f09;hp=1fee4c424f618be9bd373289c2cca69ea2090f46;hb=833bf58328945361db8a744c0dec2c925c97d43a;hpb=eeff5ede530161a722200afb3d0042e66c954169 diff --git a/src/ber_null.c b/src/ber_null.c index 1fee4c4..5e3cb94 100644 --- a/src/ber_null.c +++ b/src/ber_null.c @@ -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;