From 4da70d800a25881f525498a451ae21b398a1d5b1 Mon Sep 17 00:00:00 2001 From: Nagy Gabor Date: Tue, 26 Aug 2008 12:57:08 +0200 Subject: Rename alpm_get_md5sum to alpm_compute_md5sum and alpm_dep_get_string to alpm_dep_compute_string This patch introduces the following function name convention: _compute_ in function name: the return value must be freed. _get_ in function name: the return value must not be freed. Signed-off-by: Nagy Gabor Signed-off-by: Dan McGee --- src/pacman/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pacman/sync.c') diff --git a/src/pacman/sync.c b/src/pacman/sync.c index e3a772de..d8a63481 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -640,7 +640,7 @@ static int sync_trans(alpm_list_t *targets) for(i = data; i; i = alpm_list_next(i)) { pmdepmissing_t *miss = alpm_list_getdata(i); pmdepend_t *dep = alpm_miss_get_dep(miss); - char *depstring = alpm_dep_get_string(dep); + char *depstring = alpm_dep_compute_string(dep); printf(_(":: %s: requires %s\n"), alpm_miss_get_target(miss), depstring); free(depstring); -- cgit v1.2.3