diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-06-18 00:04:30 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-06-18 00:04:30 +0000 |
commit | 01123bae075d6d472eaf3806556ce08ca6d6a3cd (patch) | |
tree | 82794eebafa9e00b243408c62015c383edd6cabf /util.c | |
parent | de052af0fd05e0257e48f9e0633a2a934e4bff3d (diff) | |
download | dzen-01123bae075d6d472eaf3806556ce08ca6d6a3cd.tar.gz dzen-01123bae075d6d472eaf3806556ce08ca6d6a3cd.zip |
code cleanups, thanks 'mauke'
git-svn-id: http://dzen.googlecode.com/svn/trunk@106 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ estrdup(const char *str) { } void spawn(const char *arg) { - static char *shell = NULL; + static const char *shell = NULL; if(!shell && !(shell = getenv("SHELL"))) shell = "/bin/sh"; |