Changeset 3cd17e7d668e174ebc6dcf6510aefffcb406c765
- Timestamp:
- 04/03/08 19:56:33
(7 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1204656993 +0200
- git-parent:
[9b978809c70b0765414bc28fa7a8b7670451dffb]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1204656993 +0200
- Message:
Avoid dummy "unknown option dccp-service" error
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r9db336f |
r3cd17e7 |
|
| 126 | 126 | |
|---|
| 127 | 127 | #ifdef DCCP_SOCKOPT_SERVICE |
|---|
| 128 | | char *dccps = var_CreateGetNonEmptyString (p_this, "dccp-service"); |
|---|
| 129 | | if (dccps != NULL) |
|---|
| 130 | | { |
|---|
| 131 | | setsockopt (fd, SOL_DCCP, DCCP_SOCKOPT_SERVICE, dccps, |
|---|
| 132 | | (strlen (dccps) + 3) & ~3); |
|---|
| 133 | | free (dccps); |
|---|
| | 128 | if (socktype == SOL_DCCP) |
|---|
| | 129 | { |
|---|
| | 130 | char *dccps = var_CreateGetNonEmptyString (p_this, "dccp-service"); |
|---|
| | 131 | if (dccps != NULL) |
|---|
| | 132 | { |
|---|
| | 133 | setsockopt (fd, SOL_DCCP, DCCP_SOCKOPT_SERVICE, dccps, |
|---|
| | 134 | (strlen (dccps) + 3) & ~3); |
|---|
| | 135 | free (dccps); |
|---|
| | 136 | } |
|---|
| 134 | 137 | } |
|---|
| 135 | 138 | #endif |
|---|