Skip to content

Commit

Permalink
warnings and stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
kriston committed Dec 12, 2000
1 parent 51e90b7 commit 45f5caf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
2000-12-12 Kriston J. Rehberg <[email protected]>

* nsvhr/nsvhr.c (UDSProxy): More type changes.

* nslog/nslog.c (Ns_ModuleInit): pointer-to-function casted.

* nscp/nscp.c (GetLine): buf changed to char *; casted AcceptProc.

2000-12-12 Jim Davidson

* nssock/sock.cpp: Fixed multiple-load problems, added sndbuf,
Expand Down
6 changes: 3 additions & 3 deletions nscp/nscp.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* Tcl commands.
*/

static const char *RCSID = "@(#) $Header: /Users/dossy/Desktop/cvs/aolserver/nscp/nscp.c,v 1.12 2000/10/17 20:12:03 kriston Exp $, compiled: " __DATE__ " " __TIME__;
static const char *RCSID = "@(#) $Header: /Users/dossy/Desktop/cvs/aolserver/nscp/nscp.c,v 1.13 2000/12/12 22:54:27 kriston Exp $, compiled: " __DATE__ " " __TIME__;

#include "ns.h"

Expand Down Expand Up @@ -133,7 +133,7 @@ Ns_ModuleInit(char *s, char *module)
return NS_ERROR;
}
Ns_Log(Notice, "nscp: listening on %s:%d", addr, port);
Ns_RegisterProcInfo(AcceptProc, "nscp", ArgProc);
Ns_RegisterProcInfo((void *)AcceptProc, "nscp", ArgProc);
Ns_SockCallback(lsock, AcceptProc, NULL, NS_SOCK_READ|NS_SOCK_EXIT);

/*
Expand Down Expand Up @@ -373,7 +373,7 @@ EvalThread(void *arg)
static int
GetLine(SOCKET sock, char *prompt, Tcl_DString *dsPtr, int echo)
{
unsigned char buf[2048];
char buf[2048];
int n;
int result = 0;

Expand Down
6 changes: 3 additions & 3 deletions nslog/nslog.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* This file implements the access log using NCSA Common Log format.
*/

static const char *RCSID = "@(#) $Header: /Users/dossy/Desktop/cvs/aolserver/nslog/nslog.c,v 1.6 2000/10/17 15:35:34 kriston Exp $, compiled: " __DATE__ " " __TIME__;
static const char *RCSID = "@(#) $Header: /Users/dossy/Desktop/cvs/aolserver/nslog/nslog.c,v 1.7 2000/12/12 22:54:27 kriston Exp $, compiled: " __DATE__ " " __TIME__;

#include "ns.h"
#include <sys/stat.h> /* mkdir */
Expand Down Expand Up @@ -116,8 +116,8 @@ Ns_ModuleInit(char *server, char *module)
*/

if (first) {
Ns_RegisterProcInfo(LogRollCallback, "logroll", LogArg);
Ns_RegisterProcInfo(LogCloseCallback, "logclose", LogArg);
Ns_RegisterProcInfo((void *)LogRollCallback, "logroll", LogArg);
Ns_RegisterProcInfo((void *)LogCloseCallback, "logclose", LogArg);
first = 0;
}

Expand Down

0 comments on commit 45f5caf

Please sign in to comment.