From: Marco van Wieringen Date: Fri, 2 Apr 2010 15:47:25 +0000 (+0200) Subject: Fix typo X-Git-Tag: Release-5.0.2~125 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=12e99b170789a9528110643c62708a8df1274f4e;p=bacula%2Fbacula Fix typo --- diff --git a/bacula/src/cats/myingres.c b/bacula/src/cats/myingres.c index 620ba9f5dc..c222928991 100644 --- a/bacula/src/cats/myingres.c +++ b/bacula/src/cats/myingres.c @@ -445,7 +445,7 @@ int INGgetisnull(INGresult *res, int row_number, int column_number) if (row_number != res->act_row->row_number) { INGrowSeek(res, row_number); } - return (*res->act_row->sqlvar[column_number].sqlind == -1) 1 : 0; + return (*res->act_row->sqlvar[column_number].sqlind == -1) ? 1 : 0; } int INGntuples(const INGresult *res) { diff --git a/bacula/src/cats/myingres.sc b/bacula/src/cats/myingres.sc index 9c65d64164..43dfc58de6 100644 --- a/bacula/src/cats/myingres.sc +++ b/bacula/src/cats/myingres.sc @@ -473,7 +473,7 @@ int INGgetisnull(INGresult *res, int row_number, int column_number) INGrowSeek(res, row_number); } - return (*res->act_row->sqlvar[column_number].sqlind == -1) 1 : 0; + return (*res->act_row->sqlvar[column_number].sqlind == -1) ? 1 : 0; } int INGntuples(const INGresult *res)