File pavuk-bugs.patch of Package pavuk
--- pavuk-0.9.35.orig/src/tools.c
+++ pavuk-0.9.35/src/tools.c
@@ -1726,7 +1726,7 @@ int tl_save_text_file(char *filename, ch
if(length < 0)
length = strlen(content);
- if((fd = open(filename, O_WRONLY | O_BINARY | O_CREAT | O_TRUNC), 0644) < 0)
+ if((fd = open(filename, O_WRONLY | O_BINARY | O_CREAT | O_TRUNC, 0644) < 0))
{
xperror(filename);
return -1;
--- pavuk-0.9.35.orig/src/dns.c
+++ pavuk-0.9.35/src/dns.c
@@ -673,7 +673,7 @@ char *dns_get_abs_addr_ip(abs_addr * had
void *addr;
char pom[128];
struct in_addr ia4;
- struct in6_addr *ia6;
+ struct in6_addr ia6;
switch (haddr->family)
{