code cleanup

This commit is contained in:
Aurelien Foret 2006-01-07 17:50:20 +00:00
parent 74b3e0dcae
commit 59edbdd4cf
2 changed files with 4 additions and 5 deletions

View file

@ -606,7 +606,7 @@ int pacman_sync(list_t *targets)
MSG(NL, "\nTargets: ");
str = buildstring(list_install);
indentprint(str, 9);
MSG(NL, "Total Package Size: %.1f MB\n", mb);
MSG(NL, "\nTotal Package Size: %.1f MB\n", mb);
FREELIST(list_install);
FREE(str);
@ -633,7 +633,6 @@ int pacman_sync(list_t *targets)
}
}
if(!confirm) {
retval = 1;
goto cleanup;
}
}

View file

@ -113,7 +113,7 @@ void cb_trans_conv(unsigned char event, void *data1, void *data2, void *data3, i
*response = yesno(str);
break;
case PM_TRANS_CONV_CONFLICT_PKG:
snprintf(str, LOG_STR_LEN, "\n:: %s conflicts with %s. Remove %s? [Y/n] ",
snprintf(str, LOG_STR_LEN, ":: %s conflicts with %s. Remove %s? [Y/n] ",
(char *)data1,
(char *)data2,
(char *)data2);