| Summary: | Rename socklen_t to kde_socklen_t for HP-UX | ||
|---|---|---|---|
| Product: | [Unmaintained] kio | Reporter: | The Written Word <bugzilla-kde> |
| Component: | general | Assignee: | David Faure <faure> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | HP-UX | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch | ||
|
Description
The Written Word
2004-03-22 18:14:22 UTC
Created attachment 5343 [details]
Patch
This touches acinclude.m4, can't comment on that. Thus reassigning to kio/general. CVS commit by coolo:
fixing use of socklen (the patch is in admin since quite some time)
BUG: 78238
M +1 -1 smtp.cc 1.145
--- kdebase/kioslave/smtp/smtp.cc #1.144:1.145
@@ -149,5 +149,5 @@ unsigned int SMTPProtocol::sendBufferSiz
const int fd = fileno( fp );
int value = -1;
- ksize_t len = sizeof(value);
+ kde_socklen_t len = sizeof(value);
if ( fd < 0 || ::getsockopt( fd, SOL_SOCKET, SO_SNDBUF, (char*)&value, &len ) )
value = 1024; // let's be conservative
|