check initseq->first in awx after running include()
authorFelix Fietkau <nbd@openwrt.org>
Thu, 29 Mar 2007 00:08:43 +0000 (00:08 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 29 Mar 2007 00:08:43 +0000 (00:08 +0000)
SVN-Revision: 6751

package/busybox/patches/920-awx.patch

index 146bd26..251db68 100644 (file)
@@ -355,7 +355,7 @@ diff -purN bb.old/editors/awx.c bb.dev/editors/awx.c
 +                      clear_array(ahash);
 +              }
 +      }
-+      if (initseq)
++      if (initseq && initseq->first)
 +              evaluate(initseq->first, &tv);
 +}
 +