Ticket #48: test2.patch
| File test2.patch, 566 bytes (added by reddog@…, 4 years ago) |
|---|
-
src/mapset.c
old new 89 89 this->item=item; 90 90 this->search_attr=search_attr; 91 91 this->partial=partial; 92 this->ms=map_search_new(this->map->data, item, search_attr, partial); 93 return this; 92 if (this->map) 93 { 94 this->ms=map_search_new(this->map->data, item, search_attr, partial); 95 } 96 else 97 { 98 printf("Can't search in a NULL mapset!"); 99 exit(-1); 100 } 101 102 return this; 103 94 104 } 95 105 96 106 struct item *
