X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=score.c;h=a044faa3e23991044763e5838ff45cc3e82d927f;hb=2d8f0c21ac8735fc06d1aa88e7873614392e3042;hp=86c6c4bb366af7e1e9f6d2ddec3d820b45f74a51;hpb=191d16070b9511f5b32b1ede7a9d0db1ffb3da54;p=paraslash.git diff --git a/score.c b/score.c index 86c6c4bb..a044faa3 100644 --- a/score.c +++ b/score.c @@ -198,7 +198,7 @@ int score_update(const struct osl_row *aft_row, long percent) obj.size = sizeof(long); obj.data = para_malloc(obj.size); *(long *)obj.data = new_score; - PARA_NOTICE_LOG("new score: %ld, position: %u/%u\n", new_score, + PARA_DEBUG_LOG("new score: %ld, position: %u/%u\n", new_score, new_pos, n); return osl_update_object(score_table, row, SCORECOL_SCORE, &obj); } @@ -342,6 +342,7 @@ int row_belongs_to_score_table(const struct osl_row *aft_row) void score_shutdown(enum osl_close_flags flags) { osl_close_table(score_table, flags | OSL_FREE_VOLATILE); + score_table = NULL; } /**