16 lines
707 B
Diff
16 lines
707 B
Diff
diff -up librepo/tests/test_repoconf.c.repoconf-assert librepo/tests/test_repoconf.c
|
|
--- librepo/tests/test_repoconf.c.repoconf-assert 2015-05-27 15:23:29.000000000 +0200
|
|
+++ librepo/tests/test_repoconf.c 2015-05-27 15:26:35.000000000 +0200
|
|
@@ -49,9 +49,9 @@ static void
|
|
repoconf_assert_na(LrYumRepoConf *repoconf,
|
|
LrYumRepoConfOption option)
|
|
{
|
|
- void *ptr = NULL;
|
|
+ char array[2048];
|
|
_cleanup_error_free_ GError *tmp_err = NULL;
|
|
- gboolean ret = lr_yum_repoconf_getinfo(repoconf, &tmp_err, option, &ptr);
|
|
+ gboolean ret = lr_yum_repoconf_getinfo(repoconf, &tmp_err, option, array);
|
|
g_assert(!ret);
|
|
g_assert_error(tmp_err, LR_REPOCONF_ERROR, LRE_NOTSET);
|
|
}
|