Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: net/base/nss_memio.h

Issue 1589001: memio_SetPeerName implicitly assumes that struct sockaddr is the same as... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/base/nss_memio.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/nss_memio.h
===================================================================
--- net/base/nss_memio.h (revision 42853)
+++ net/base/nss_memio.h (working copy)
@@ -14,8 +14,6 @@
#include "prio.h"
-struct sockaddr;
-
/* Opaque structure. Really just a more typesafe alias for PRFilePrivate. */
struct memio_Private;
typedef struct memio_Private memio_Private;
@@ -42,8 +40,7 @@
PRFileDesc *memio_CreateIOLayer(int bufsize);
/* Must call before trying to make an ssl connection */
-void memio_SetPeerName(PRFileDesc *fd, const struct sockaddr *peername,
- size_t peername_len);
+void memio_SetPeerName(PRFileDesc *fd, const PRNetAddr *peername);
/* Return a private pointer needed by the following
* four functions. (We could have passed a PRFileDesc to
« no previous file with comments | « no previous file | net/base/nss_memio.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698