nmem_init ();
+ log_init_file("apitest.log");
+
odr_input = odr_createmem (ODR_DECODE);
odr_output = odr_createmem (ODR_ENCODE);
}
/* result set name will be called 1,2, etc */
- sprintf (setname, "%d", i);
+ sprintf (setname, "%d", argno);
/* fire up the search */
zebra_search_rpn (zh, odr_input, odr_output, query, 1, &base, setname);