src/server/pblock.cpp

changeset 3
137197831306
parent 1
3c066d52342d
child 5
dbc01588686e
equal deleted inserted replaced
2:cee3e65e789c 3:137197831306
563 563
564 /* Find property index */ 564 /* Find property index */
565 int pindex = PListGetFreeIndex(pl); 565 int pindex = PListGetFreeIndex(pl);
566 if (pindex < 1) { 566 if (pindex < 1) {
567 /* Error - invalid property index */ 567 /* Error - invalid property index */
568 printf("Error - invalid property index\n");
568 return; 569 return;
569 } 570 }
570 571
571 /* Allocate/grow the symbol table as needed */ 572 /* Allocate/grow the symbol table as needed */
572 PLSymbolTable_t *pt = PListSymbolTable(pl); 573 PLSymbolTable_t *pt = PListSymbolTable(pl);
573 if (!pt) { 574 if (!pt) {
575 printf("!pt\n");
574 return; 576 return;
575 } 577 }
576 578
577 /* Add PLValueStruct_t to the property list */ 579 /* Add PLValueStruct_t to the property list */
578 PLValueStruct_t **ppval = (PLValueStruct_t **)(pl->pl_ppval); 580 PLValueStruct_t **ppval = (PLValueStruct_t **)(pl->pl_ppval);

mercurial