--- libaitmqtt/example/exptop.c 2012/01/26 14:59:53 1.1.2.2 +++ libaitmqtt/example/exptop.c 2012/02/04 10:40:01 1.1.2.3 @@ -16,6 +16,10 @@ main(int argc, char **argv) len = mqtt_expandTopic(argv[1], blah, sizeof blah, 1, 0); - printf("result=%s ret=%d\n", blah, len); + printf("regex)result=%s ret=%d\n", blah, len); + + len = mqtt_sqlTopic(argv[1], blah, sizeof blah); + + printf("sql)result=%s ret=%d\n", blah, len); return 0; }