Commit 314ef986 314ef98678f1b4c2c39b3c6a13145659869751fb by Sergey Poznyakoff

(alias_expand): Return NULL if no suitable expansion was found.

1 parent 6658c767
...@@ -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 }
......