aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2004-10-03 03:55:45 +0000
committerJason Woodward2004-10-03 03:55:45 +0000
commitdd2b267293fa1ed9865e6b4f6d3649823748fa4e (patch)
treea3da1a81d0f5645a17b2ba9a139fb671c3ba925a /src
parenta24db0694654813474ec763c69b8d06534cecaf1 (diff)
downloadslapt-get-dd2b267293fa1ed9865e6b4f6d3649823748fa4e.tar.gz
fixed null short description from printing "null", prints "" instead
Diffstat (limited to 'src')
-rw-r--r--src/action.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/action.c b/src/action.c
index 9448b03..753bbf4 100644
--- a/src/action.c
+++ b/src/action.c
@@ -156,7 +156,9 @@ void pkg_action_list(void){
bool_installed == 1
? _("yes")
: _("no"),
- short_description
+ short_description == NULL
+ ? ""
+ : short_description
);
free(short_description);
}