Browse Source

- Changed maxmsglen in ifx_errormsg() back to normal 255 instead of 10

PHP-5
Corne' Cornelius 24 years ago
parent
commit
5e09029ba7
  1. 2
      ext/informix/ifx.ec

2
ext/informix/ifx.ec

@ -1650,7 +1650,7 @@ PHP_FUNCTION(ifx_errormsg)
break; break;
} }
maxmsglen = 10;
maxmsglen = 255;
msglen = maxmsglen; /* Some bug fix, rgetlmsg doesnt always set the value */ msglen = maxmsglen; /* Some bug fix, rgetlmsg doesnt always set the value */
ifx_errmsg = (char *)emalloc(maxmsglen + 1); ifx_errmsg = (char *)emalloc(maxmsglen + 1);
if (ifx_errorcode != 0) { if (ifx_errorcode != 0) {

Loading…
Cancel
Save