--- mqtt/src/Attic/mqtt.c 2011/11/23 00:56:46 1.1.1.1.2.6 +++ mqtt/src/Attic/mqtt.c 2011/11/23 01:07:18 1.1.1.1.2.7 @@ -26,6 +26,11 @@ main(int argc, char **argv) if (!pub) goto end; + if (mqttMkDir(&cfg)) { + printf("Error:: in statedir #%d - %s\n", errno, strerror(errno)); + goto end; + } + printf("success!\n"); end: