Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- if (device == NULL) {
- reset = true;
- } else if (data->device == NULL) {
- data->device = bstrdup(device);
- reset = true;
- } else if (strcmp(bstrdup(device), data->device) != 0) {
- data->device = bstrdup(device);
- reset = true;
- }
- }
- catch(...) {
- blog(LOG_INFO, "Initializing asio device");
- }
Advertisement
Add Comment
Please, Sign In to add comment