Fix thinko in 720e0327bc
This commit is contained in:
parent
720e0327bc
commit
361ec4368b
@ -942,7 +942,7 @@ isn_out(PG_FUNCTION_ARGS)
|
|||||||
char *result;
|
char *result;
|
||||||
char buf[MAXEAN13LEN + 1];
|
char buf[MAXEAN13LEN + 1];
|
||||||
|
|
||||||
(void) ean2string(val, fcinfo->context, buf, true);
|
(void) ean2string(val, false, buf, true);
|
||||||
|
|
||||||
result = pstrdup(buf);
|
result = pstrdup(buf);
|
||||||
PG_RETURN_CSTRING(result);
|
PG_RETURN_CSTRING(result);
|
||||||
@ -958,7 +958,7 @@ ean13_out(PG_FUNCTION_ARGS)
|
|||||||
char *result;
|
char *result;
|
||||||
char buf[MAXEAN13LEN + 1];
|
char buf[MAXEAN13LEN + 1];
|
||||||
|
|
||||||
(void) ean2string(val, fcinfo->context, buf, false);
|
(void) ean2string(val, false, buf, false);
|
||||||
|
|
||||||
result = pstrdup(buf);
|
result = pstrdup(buf);
|
||||||
PG_RETURN_CSTRING(result);
|
PG_RETURN_CSTRING(result);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user