Skip to content

Commit a8d2d22

Browse files
author
Ard Biesheuvel
committed
Fix build
1 parent 8f5c250 commit a8d2d22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/informix/ifx.ec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ typedef char IFX[128];
126126
#define PHP_IFX_CHECK_CONNECTION(ifx) \
127127
{ \
128128
if (ifx_check() < 0) { \
129-
IFXG(sv_sqlcode) = SQLCODE; \
130129
char *ifx_err = ifx_error(ifx); \
130+
IFXG(sv_sqlcode) = SQLCODE; \
131131
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Set connection %s fails (%s)", ifx, ifx_err); \
132132
efree(ifx_err); \
133133
RETURN_FALSE; \
@@ -289,7 +289,7 @@ EXEC SQL BEGIN DECLARE SECTION;
289289
PARAMETER char *link;
290290
EXEC SQL END DECLARE SECTION;
291291
{
292-
char *ifx_err = null;
292+
char *ifx_err = NULL;
293293
TSRMLS_FETCH();
294294

295295
EXEC SQL SET CONNECTION :link;

0 commit comments

Comments
 (0)