- para_printf(&raad.pb, "%s\n", PARA_STRERROR(-ret));
- if (!raad.num_removed)
- para_printf(&raad.pb, "no match -- nothing removed\n");
- result->data = raad.pb.buf;
- result->size = raad.pb.size;
- return 1;
+ ret2 = para_printf(&raad.pb, "%s\n", para_strerror(-ret));
+ else if (!raad.num_removed)
+ ret2 = para_printf(&raad.pb, "no match -- nothing removed\n");
+ if (ret2 >= 0 && raad.pb.offset)
+ pass_buffer_as_shm(raad.pb.buf, raad.pb.offset, &fd);
+ free(raad.pb.buf);