From: Hiroshi Inoue Date: Wed, 21 Mar 2001 09:35:25 +0000 (+0000) Subject: a fix from Eiji Tokuya. X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=418443ff7f657077d6cbc397ea3ce73ef37b957e;p=users%2Fbernd%2Fpostgres.git a fix from Eiji Tokuya. --- diff --git a/src/interfaces/odbc/multibyte.c b/src/interfaces/odbc/multibyte.c index d365618fc7..316ca40efb 100644 --- a/src/interfaces/odbc/multibyte.c +++ b/src/interfaces/odbc/multibyte.c @@ -15,7 +15,7 @@ int multibyte_status ; /* Multibyte Odds and ends character. */ unsigned char *multibyte_strchr(unsigned char *s,unsigned char c) { int mb_st = 0 ,i = 0; - while (!(mb_st == 0 && s[i] == c || s[i] == 0)) + while (!(mb_st == 0 && (s[i] == c || s[i] == 0))) { if (s[i] == 0) return (0);