X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=blob.c;h=21144d851a48d8a3d6c2fb16eb792adea5c87a1e;hp=b3daf5c35744c5727ab8a8f52f127b83c1454073;hb=b326b33f0afef8f68623d30fff936d615ce43bc7;hpb=a5842a27e24fae1053b23ef51777564e87adb395 diff --git a/blob.c b/blob.c index b3daf5c3..21144d85 100644 --- a/blob.c +++ b/blob.c @@ -223,6 +223,10 @@ static void com_catblob_callback(struct osl_table *table, int fd, .action = cat_blob }; for_each_matching_row(&pmd); + if (pmd.num_matches == 0) { + char err_msg[] = "no matches\n"; + pass_buffer_as_shm(err_msg, sizeof(err_msg), &fd); + } } static int com_catblob(callback_function *f, struct stream_cipher_context *scc, int argc,