tweak: even more conciseness.

This commit is contained in:
NunoSempere 2022-12-13 20:19:45 +00:00
parent 76ab73e38c
commit 7c155525fd
2 changed files with 2 additions and 3 deletions

Binary file not shown.

View File

@ -9,9 +9,8 @@ int main(){
char uri_filtered[l];
str_init(uri_filtered, l);
int libre_check = libre_redirect(uri, uri_filtered);
if(!libre_check){
printf("Filtered url: %s\n", uri_filtered);
if(!libre_redirect(uri, uri_filtered)){
printf("Filtered uri: %s\n", uri_filtered);
}else{
printf("Uri: %s\n", uri);
// failure; do something with the original uri.