diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-01-27 09:02:25 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-01-27 09:02:25 +0000 |
commit | 0c435287dce7f5b53a0a02cfd4f505e544d47742 (patch) | |
tree | 17ca3ebdfe3f4c7d2b2cea599be3ceaccc89d268 /src | |
parent | c216670930063791d059ec90767886a44f32ca95 (diff) | |
download | libmicrohttpd-0c435287dce7f5b53a0a02cfd4f505e544d47742.tar.gz libmicrohttpd-0c435287dce7f5b53a0a02cfd4f505e544d47742.zip |
should be sockaddr, not sockaddr_in
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/internal.h | 2 | ||||
-rw-r--r-- | src/include/microhttpd.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/daemon/internal.h b/src/daemon/internal.h index 28250b73..6d90b787 100644 --- a/src/daemon/internal.h +++ b/src/daemon/internal.h | |||
@@ -526,7 +526,7 @@ struct MHD_Connection | |||
526 | * Foreign address (of length addr_len). MALLOCED (not | 526 | * Foreign address (of length addr_len). MALLOCED (not |
527 | * in pool!). | 527 | * in pool!). |
528 | */ | 528 | */ |
529 | struct sockaddr_in *addr; | 529 | struct sockaddr *addr; |
530 | 530 | ||
531 | /** | 531 | /** |
532 | * Thread for this connection (if we are using | 532 | * Thread for this connection (if we are using |
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 77fbcccd..8f98bafa 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -106,7 +106,7 @@ extern "C" | |||
106 | /** | 106 | /** |
107 | * Current version of the library. | 107 | * Current version of the library. |
108 | */ | 108 | */ |
109 | #define MHD_VERSION 0x00090600 | 109 | #define MHD_VERSION 0x00090601 |
110 | 110 | ||
111 | /** | 111 | /** |
112 | * MHD-internal return code for "YES". | 112 | * MHD-internal return code for "YES". |
@@ -1548,7 +1548,7 @@ union MHD_ConnectionInfo | |||
1548 | /** | 1548 | /** |
1549 | * Address information for the client. | 1549 | * Address information for the client. |
1550 | */ | 1550 | */ |
1551 | struct sockaddr_in *client_addr; | 1551 | struct sockaddr *client_addr; |
1552 | }; | 1552 | }; |
1553 | 1553 | ||
1554 | /** | 1554 | /** |