]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - score.c
Turn PARA_STRERROR into an inline function.
[paraslash.git] / score.c
diff --git a/score.c b/score.c
index 7d3b024690d432ee9d4fb9b77a0388fabee90e6b..8f75a1a02f6091c957b51472f8168c1fd550bb2d 100644 (file)
--- a/score.c
+++ b/score.c
@@ -143,7 +143,7 @@ int score_add(const struct osl_row *aft_row, long score)
 //     PARA_DEBUG_LOG("adding %p\n", *(void **) (score_objs[SCORECOL_AFT_ROW].data));
        ret = osl_add_row(score_table, score_objs);
        if (ret < 0) {
-               PARA_ERROR_LOG("%s\n", PARA_STRERROR(-ret));
+               PARA_ERROR_LOG("%s\n", para_strerror(-ret));
                free(score_objs[SCORECOL_SCORE].data);
        }
        return ret;