Browse Source

Clean up a little.

migration/unlabaled-1.1.2
Yasuo Ohgaki 24 years ago
parent
commit
520486e8b1
  1. 6
      ext/pgsql/pgsql.c

6
ext/pgsql/pgsql.c

@ -2734,11 +2734,9 @@ PHP_FUNCTION(pg_unescape_bytea)
to = (char *)php_pgsql_unescape_bytea((unsigned char*)from, from_len);
if (!to) {
RETVAL_FALSE;
}
else {
RETVAL_STRINGL(to, to_len-1, 1); /* to_len includes addtional '\0' */
RETURN_FALSE;
}
RETVAL_STRINGL(to, to_len-1, 1); /* to_len includes addtional '\0' */
free(to);
}
/* }}} */

Loading…
Cancel
Save