Initialization bug reported by Taj Khattra.

This commit is contained in:
rsc 2004-03-21 20:42:11 +00:00
parent bbbc97b008
commit 64044a070a

View file

@ -1536,6 +1536,7 @@ plumb(uint q0, uint q1)
pm->dst = 0; pm->dst = 0;
pm->wdir = strdup(w); pm->wdir = strdup(w);
pm->type = strdup("text"); pm->type = strdup("text");
pm->data = nil;
if(q1 > q0) if(q1 > q0)
pm->attr = nil; pm->attr = nil;
else{ else{