]> git.pld-linux.org Git - packages/pdnsd.git/commitdiff
- fixed typo in src/dns.c (s/sizof/sizeof/).
authorkloczek <kloczek@pld-linux.org>
Sun, 10 Jun 2001 20:42:55 +0000 (20:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pdnsd-typo.patch -> 1.1

pdnsd-typo.patch [new file with mode: 0644]

diff --git a/pdnsd-typo.patch b/pdnsd-typo.patch
new file mode 100644 (file)
index 0000000..e092e57
--- /dev/null
@@ -0,0 +1,11 @@
+--- pdnsd-1.1.5/src/dns.c~     Sun Jun  3 23:11:43 2001
++++ pdnsd-1.1.5/src/dns.c      Sun Jun 10 22:39:45 2001
+@@ -307,7 +307,7 @@
+               if (tp==T_AAAA) {
+                       b2[0]='\0';
+                       for (i=15;i>=0;i--) {
+-                              snprintf((char *)b4, sizof(b4),"%x.%x.",((unsigned char *)&a->ipv6)[i]&&0xf,(((unsigned char *)&a->ipv6)[i]&&0xf0)>>4);
++                              snprintf((char *)b4, sizeof(b4),"%x.%x.",((unsigned char *)&a->ipv6)[i]&&0xf,(((unsigned char *)&a->ipv6)[i]&&0xf0)>>4);
+                               strncat((char *)b2,(char *)b4,sizeof(b2)-strlen(b2)-1);
+                       }
+                       strncat((char *)b2,"ip6.int.",sizeof(b2)-strlen(b2)-1);
This page took 0.031855 seconds and 4 git commands to generate.