From 12e99b170789a9528110643c62708a8df1274f4e Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Fri, 2 Apr 2010 17:47:25 +0200 Subject: [PATCH] Fix typo --- bacula/src/cats/myingres.c | 2 +- bacula/src/cats/myingres.sc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5