Skip to content

Commit 361ec43

Browse files
committed
Fix thinko in 720e032
1 parent 720e032 commit 361ec43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/isn/isn.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ isn_out(PG_FUNCTION_ARGS)
942942
char *result;
943943
char buf[MAXEAN13LEN + 1];
944944

945-
(void) ean2string(val, fcinfo->context, buf, true);
945+
(void) ean2string(val, false, buf, true);
946946

947947
result = pstrdup(buf);
948948
PG_RETURN_CSTRING(result);
@@ -958,7 +958,7 @@ ean13_out(PG_FUNCTION_ARGS)
958958
char *result;
959959
char buf[MAXEAN13LEN + 1];
960960

961-
(void) ean2string(val, fcinfo->context, buf, false);
961+
(void) ean2string(val, false, buf, false);
962962

963963
result = pstrdup(buf);
964964
PG_RETURN_CSTRING(result);

0 commit comments

Comments
 (0)