X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=score.c;fp=score.c;h=f2a28b7559bd49308559262fa3d475d041cab88f;hp=0e18a1b994eb72025619efaecabe05d544f85765;hb=d3989f99f26082c8e69dddcc9be13b7c4d09421d;hpb=6a0876b8ebae7ff007617e9c9a4e0e72744cfa23 diff --git a/score.c b/score.c index 0e18a1b9..f2a28b75 100644 --- a/score.c +++ b/score.c @@ -182,6 +182,8 @@ int score_update(const struct osl_row *aft_row, long percent) .size = sizeof(aft_row)}; int ret = osl_get_row(score_table, SCORECOL_AFT_ROW, &obj, &row); + if (ret == -E_RB_KEY_NOT_FOUND) /* not an error */ + return 1; if (ret < 0) return ret; ret = get_num_admissible_files(&n);