X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=blob.c;h=1360963e6b6ef16d235972a150faf6dcb7ae64fe;hp=fbfea00ce90a2ac4bf49c5b8e7002248d5c329e0;hb=fe282244d61b83eb1f285259dd1d55992a96288f;hpb=4ed1b8bcba134e2656eaff91053397064c538bd5 diff --git a/blob.c b/blob.c index fbfea00c..1360963e 100644 --- a/blob.c +++ b/blob.c @@ -289,7 +289,7 @@ static int com_rmblob_callback(struct osl_table *table, int fd, ret = -E_NO_MATCH; else { para_printf(&pb, "removed %d blob(s)\n", pmd.num_matches); - afs_event(BLOB_RENAME, NULL, table); + ret = afs_event(BLOB_RENAME, NULL, table); } out: flush_and_free_pb(&pb); @@ -371,7 +371,7 @@ static int com_addblob_callback(struct osl_table *table, int fd, ret = osl(osl_add_row(table, objs)); if (ret < 0) goto out; - afs_event(BLOB_ADD, NULL, table); + ret = afs_event(BLOB_ADD, NULL, table); out: if (ret < 0) msg_len = xasprintf(&msg, "cannot add %s\n", name); @@ -489,7 +489,7 @@ static int com_mvblob_callback(struct osl_table *table, int fd, para_printf(&pb, "cannot rename blob %s to %s\n", src, dest); goto out; } - afs_event(BLOB_RENAME, NULL, table); + ret = afs_event(BLOB_RENAME, NULL, table); out: flush_and_free_pb(&pb); return ret;