X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mood.c;h=feeae8bdcb1e9a6a7026be1b1de32b75643b37ac;hp=540d0c70bc7d20b0951e0dffa5deb10c7394104c;hb=6494f4bfddde1b9e06c4cb8bcd3acf7b9cc762f1;hpb=31233289bedbb596b98eadd411bc6aac54d4ed69 diff --git a/mood.c b/mood.c index 540d0c70..feeae8bd 100644 --- a/mood.c +++ b/mood.c @@ -7,6 +7,7 @@ /** \file mood.c Paraslash's mood handling functions. */ #include +#include #include "para.h" #include "error.h" #include "string.h" @@ -972,7 +973,7 @@ int change_current_mood(char *mood_name) .data = mood_name, .size = strlen(mood_name) + 1 }; - ret = osl_get_row(moods_table, BLOBCOL_NAME, &obj, &row); + ret = osl(osl_get_row(moods_table, BLOBCOL_NAME, &obj, &row)); if (ret < 0) { PARA_NOTICE_LOG("no such mood: %s\n", mood_name); return ret;