Return to exptop.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / libaitmqtt / example |
version 1.1.2.1, 2012/01/26 14:45:02 | version 1.1.2.2, 2012/01/26 14:59:53 |
---|---|
Line 14 main(int argc, char **argv) | Line 14 main(int argc, char **argv) |
len = strlen(argv[1]); | len = strlen(argv[1]); |
printf("input=%s %d\n", argv[1], len); | printf("input=%s %d\n", argv[1], len); |
len = mqtt_expandTopic(argv[1], blah, sizeof blah, 1, 1); | len = mqtt_expandTopic(argv[1], blah, sizeof blah, 1, 0); |
printf("result=%s ret=%d\n", blah, len); | printf("result=%s ret=%d\n", blah, len); |
return 0; | return 0; |