tweak: even more conciseness.
This commit is contained in:
parent
76ab73e38c
commit
7c155525fd
Binary file not shown.
|
@ -9,9 +9,8 @@ int main(){
|
||||||
char uri_filtered[l];
|
char uri_filtered[l];
|
||||||
str_init(uri_filtered, l);
|
str_init(uri_filtered, l);
|
||||||
|
|
||||||
int libre_check = libre_redirect(uri, uri_filtered);
|
if(!libre_redirect(uri, uri_filtered)){
|
||||||
if(!libre_check){
|
printf("Filtered uri: %s\n", uri_filtered);
|
||||||
printf("Filtered url: %s\n", uri_filtered);
|
|
||||||
}else{
|
}else{
|
||||||
printf("Uri: %s\n", uri);
|
printf("Uri: %s\n", uri);
|
||||||
// failure; do something with the original uri.
|
// failure; do something with the original uri.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user