aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qrgen.c
diff options
context:
space:
mode:
authorLeo Uino <leo@norisys.jp>2011-07-19 12:06:08 +0900
committerLeo Uino <leo@norisys.jp>2011-07-19 12:06:08 +0900
commit1ea62d837531c4d5795381da5a2566606e03ac4b (patch)
treeb95f9cc046b4d379d9f4df4f0b0d3f6c7e6b9aca /lpg/libqr/qrgen.c
parentd4abb878df167875bb66d1e0debe853cb6b88b1b (diff)
downloadpdf-simple-sign-1ea62d837531c4d5795381da5a2566606e03ac4b.tar.gz
pdf-simple-sign-1ea62d837531c4d5795381da5a2566606e03ac4b.tar.xz
pdf-simple-sign-1ea62d837531c4d5795381da5a2566606e03ac4b.zip
Consistent function names
Diffstat (limited to 'lpg/libqr/qrgen.c')
-rw-r--r--lpg/libqr/qrgen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lpg/libqr/qrgen.c b/lpg/libqr/qrgen.c
index 3007011..d59954d 100644
--- a/lpg/libqr/qrgen.c
+++ b/lpg/libqr/qrgen.c
@@ -31,7 +31,7 @@ struct qr_code * create(int version,
len = strlen(input);
- data = qr_create_data(version, ec, dtype, input, len);
+ data = qr_data_create(version, ec, dtype, input, len);
if (!data) {
/* BUG: this could also indicate OOM or
@@ -42,7 +42,7 @@ struct qr_code * create(int version,
}
code = qr_code_create(data);
- qr_free_data(data);
+ qr_data_destroy(data);
if (!code) {
perror("Failed to create code");