diff options
-rw-r--r-- | lib/Makefile.am | 4 | ||||
-rw-r--r-- | lib/nss.c | 2 | ||||
-rw-r--r-- | lib/nssg.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 58277de37..97142d287 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -47,8 +47,8 @@ LIBCURL_LIBS = @LIBCURL_LIBS@ # we use srcdir/lib for the lib-private header files INCLUDES = -I$(top_srcdir)/include \ - -I$(top_builddir)/lib \ - -I$(top_srcdir)/lib + -I$(top_builddir)/lib + VERSION=-version-info 5:0:1 @@ -1195,7 +1195,7 @@ error: /* return number of sent (non-SSL) bytes */ int Curl_nss_send(struct connectdata *conn, /* connection data */ int sockindex, /* socketindex */ - void *mem, /* send this data */ + const void *mem, /* send this data */ size_t len) /* amount to write */ { PRInt32 err; diff --git a/lib/nssg.h b/lib/nssg.h index 0c6cd5d63..183998cd1 100644 --- a/lib/nssg.h +++ b/lib/nssg.h @@ -45,7 +45,7 @@ void Curl_nss_cleanup(void); int Curl_nss_send(struct connectdata *conn, int sockindex, - void *mem, + const void *mem, size_t len); ssize_t Curl_nss_recv(struct connectdata *conn, /* connection data */ int num, /* socketindex */ |