comparison audacious/input.c @ 1765:c186ee9524ed trunk

[svn] - enforce the ret = -1 == silent failure rule
author nenolod
date Sun, 01 Oct 2006 00:58:32 -0700
parents 3434eb44b304
children c2a63f41d8c6
comparison
equal deleted inserted replaced
1764:bbe06e48a952 1765:c186ee9524ed
413 if (ip && input_is_enabled(ip->filename) && 413 if (ip && input_is_enabled(ip->filename) &&
414 (ret = ip->is_our_file(filename_proxy)) > 0) { 414 (ret = ip->is_our_file(filename_proxy)) > 0) {
415 g_free(filename_proxy); 415 g_free(filename_proxy);
416 return ip; 416 return ip;
417 } 417 }
418 else if (ret <= -1)
419 break;
418 } 420 }
419 421
420 g_free(filename_proxy); 422 g_free(filename_proxy);
421 423
422 if (show_warning && !(ret <= -1)) { 424 if (show_warning && !(ret <= -1)) {