summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2006-04-29 15:34:14 +0000
committersabetts <sabetts>2006-04-29 15:34:14 +0000
commitcad59769b61b4ccd618f72355d1011eaf0008b96 (patch)
tree829036de11ca152cb17af6935db6d0547126bb59 /src/actions.c
parent36f998eb7c667d913cc398881b3b304f242898d8 (diff)
downloadratpoison-cad59769b61b4ccd618f72355d1011eaf0008b96.zip
* src/bar.c (marked_message): print NULL if msg is null in debug output
* src/actions.c (cmd_getenv): return an empty string for nonexistant env vars. (command): print NULL if rest is null in debug output
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c
index 216432c..332f5b8 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -2324,7 +2324,7 @@ command (int interactive, char *data)
rest = strtok (NULL, "\0");
- PRINT_DEBUG (("cmd==%s rest==%s\n", cmd, rest));
+ PRINT_DEBUG (("cmd==%s rest==%s\n", cmd, rest?rest:"NULL"));
/* Look for it in the aliases, first. */
for (i=0; i<alias_list_last; i++)