(alias_expand): Return NULL if no suitable expansion was found.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -262,6 +262,6 @@ alias_expand(char *name) | ... | @@ -262,6 +262,6 @@ alias_expand(char *name) |
262 | list_t list; | 262 | list_t list; |
263 | 263 | ||
264 | if (!alias_lookup(name, &list)) | 264 | if (!alias_lookup(name, &list)) |
265 | return strdup (name); | 265 | return NULL; |
266 | return util_slist_to_string(list, ","); | 266 | return util_slist_to_string(list, ","); |
267 | } | 267 | } | ... | ... |
-
Please register or sign in to post a comment