diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-04-01 11:24:41 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-04-01 11:24:41 +0200 |
commit | d58cbc3c5392e7bacd75c61bfbf9e2bcd2850ae9 (patch) | |
tree | 365c612056dc212c8bc7faf636c04aea02d2b7fc /common/commands.c | |
parent | 291d7b864be127f1fe78138b5fe476387d18f1ba (diff) |
v3.92
Diffstat (limited to 'common/commands.c')
-rw-r--r-- | common/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/commands.c b/common/commands.c index bf633a9..883452b 100644 --- a/common/commands.c +++ b/common/commands.c @@ -464,7 +464,7 @@ attr_init(void) struct ng_attribute *attr; int val; - for (attr = attrs; attr->name != NULL; attr++) { + for (attr = attrs; attr != NULL && attr->name != NULL; attr++) { if (attr->id == ATTR_ID_VOLUME || attr->id == ATTR_ID_MUTE) continue; |