Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 878998 Details for
Bug 919503
net-analyzer/dsniff-2.4_beta1_p30 - ./urlsnarf.c: error: passing argument 3 of pcap_next_ex from incompatible pointer type [-Wincompatible-pointer-typ
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fixes gcc warnings and adds const to a variable
port-to-c99.patch (text/plain), 717 bytes, created by
Christopher Fore
on 2023-12-13 01:55:18 UTC
(
hide
)
Description:
fixes gcc warnings and adds const to a variable
Filename:
MIME Type:
Creator:
Christopher Fore
Created:
2023-12-13 01:55:18 UTC
Size:
717 bytes
patch
obsolete
># Gentoo bug: https://bugs.gentoo.org/919503 > >diff --git a/tcpkill.c b/tcpkill.c >index 1a64d40..ccbbe7f 100644 >--- a/tcpkill.c >+++ b/tcpkill.c >@@ -84,7 +84,7 @@ tcp_kill_cb(u_char *user, const struct pcap_pkthdr *pcap, const u_char *pkt) > if (libnet_write(l) < 0) > warn("write"); > >- fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq); >+ fprintf(stderr, "%s R %u:%u(0) win 0\n", ctext, seq, seq); > } > } > >diff --git a/urlsnarf.c b/urlsnarf.c >index f46ccf8..d57b9dd 100644 >--- a/urlsnarf.c >+++ b/urlsnarf.c >@@ -341,7 +341,7 @@ main(int argc, char *argv[]) > } > > struct pcap_pkthdr *h; >- u_char *d; >+ const u_char *d; > int rc; > while ((rc = pcap_next_ex(p, &h, &d)) == 1) { > tt = h->ts.tv_sec;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 919503
:
878497
|
878498
|
878499
|
878500
|
878501
|
878502
|
878503
|
878504
|
878505
| 878998