Return to mqtt_subs.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / mqtt / src |
version 1.2.2.10, 2012/05/28 08:24:07 | version 1.2.2.11, 2012/06/01 13:13:40 |
---|---|
Line 181 main(int argc, char **argv) | Line 181 main(int argc, char **argv) |
sub->sub_ret = (u_char) *str; | sub->sub_ret = (u_char) *str; |
} else | } else |
sub->sub_ret = (u_char) args->QoS; | sub->sub_ret = (u_char) args->QoS; |
sub->sub_topic.msg_base = io_strdup(szStr); | sub->sub_topic.msg_base = strdup(szStr); |
sub->sub_topic.msg_len = strlen(szStr); | sub->sub_topic.msg_len = strlen(szStr); |
break; | break; |
case 'q': | case 'q': |