summaryrefslogtreecommitdiffstats
path: root/ini/ini_comment_ut.c
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2010-06-10 11:55:49 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-09-22 14:57:52 -0400
commit6f41753879870c35b2192fe6d6e7c0fca8f5ef17 (patch)
tree4fc888c8047443d0a02cdd7b8fc88ffd6969e51f /ini/ini_comment_ut.c
parent252be01e3972f0bfa01b5ad562a4c95d5fbf0039 (diff)
downloadding-libs-6f41753879870c35b2192fe6d6e7c0fca8f5ef17.tar.gz
ding-libs-6f41753879870c35b2192fe6d6e7c0fca8f5ef17.tar.xz
ding-libs-6f41753879870c35b2192fe6d6e7c0fca8f5ef17.zip
Refining comment object
Comment object should store lengths of the lines.
Diffstat (limited to 'ini/ini_comment_ut.c')
-rw-r--r--ini/ini_comment_ut.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ini/ini_comment_ut.c b/ini/ini_comment_ut.c
index 40c15b8..49c56fc 100644
--- a/ini/ini_comment_ut.c
+++ b/ini/ini_comment_ut.c
@@ -111,7 +111,7 @@ int alter_test(void)
}
for (i = 0; i < num; i++) {
- error = ini_comment_get_line(ic, i, &line);
+ error = ini_comment_get_line(ic, i, &line, NULL);
if (error) {
printf("Failed to get line.\n");
ini_comment_destroy(ic);
@@ -137,7 +137,7 @@ int alter_test(void)
}
for (i = 0; i < num; i++) {
- error = ini_comment_get_line(ic, i, &line);
+ error = ini_comment_get_line(ic, i, &line, NULL);
if (error) {
printf("Failed to get line.\n");
ini_comment_destroy(ic);