mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
12 lines
343 B
Plaintext
12 lines
343 B
Plaintext
|
--- siag/railway.c.orig Sun Jun 6 10:30:40 1999
|
||
|
+++ siag/railway.c Tue Jun 22 13:59:53 1999
|
||
|
@@ -375,7 +375,7 @@
|
||
|
void ref_expander(buffer *buf, char *src, char *dest,
|
||
|
char *brk, char *tmpl, char *rng)
|
||
|
{
|
||
|
- int a1_refs = buf->a1_refs;
|
||
|
+ int a1_refs = buf ? buf->a1_refs : 0;
|
||
|
ref_state state = REF_START;
|
||
|
char *exp;
|
||
|
char *start, *end;
|