Date: Thursday December 6, 2001 @ 21:58 Author: cameron Update of /home/netrek/cvsroot/Vanilla/ntserv In directory swashbuckler.real-time.com:/var/tmp/cvs-serv30744/ntserv Modified Files: socket.c Log Message: minor fixes to handlers **************************************** Index: Vanilla/ntserv/socket.c diff -u Vanilla/ntserv/socket.c:1.31 Vanilla/ntserv/socket.c:1.32 --- Vanilla/ntserv/socket.c:1.31 Wed Oct 10 02:36:52 2001 +++ Vanilla/ntserv/socket.c Thu Dec 6 21:58:57 2001 @@ -1,4 +1,4 @@ -/* $Id: socket.c,v 1.31 2001/10/10 07:36:52 cameron Exp $ +/* $Id: socket.c,v 1.32 2001/12/07 03:58:57 cameron Exp $ */ /* @@ -142,7 +142,7 @@ }; struct packet_handler handlers[] = { - { 0, NULL}, /* record 0 */ + { 0, NULL }, /* record 0 */ { sizeof(struct mesg_cpacket), handleMessageReq }, /* CP_MESSAGE */ { sizeof(struct speed_cpacket), handleSpeedReq }, /* CP_SPEED */ { sizeof(struct dir_cpacket), handleDirReq }, /* CP_DIRECTION */ @@ -182,38 +182,42 @@ #ifdef RSA { sizeof(struct rsa_key_cpacket), handleRSAKey }, /* CP_RSA_KEY */ #else - { 0, NULL}, /* 37 */ + { 0, NULL }, /* 37 */ #endif - { 0, NULL}, /* 38 */ - { 0, NULL}, /* 39 */ - { 0, NULL}, /* 40 */ - { 0, NULL}, /* 41 */ + { 0, NULL }, /* 38 */ + { 0, NULL }, /* 39 */ + { 0, NULL }, /* 40 */ + { 0, NULL }, /* 41 */ #ifdef PING { sizeof(struct ping_cpacket), handlePingResponse }, /* CP_PING_RESPONSE*/ +#else + { 0, NULL }, /* 42 */ #endif { sizeof(struct shortreq_cpacket), handleShortReq }, /* CP_S_REQ */ { sizeof(struct threshold_cpacket), handleThresh }, /* CP_S_THRS */ { -1, handleSMessageReq}, /* CP_S_MESSAGE */ - {0, NULL}, /* 46 */ - {0, NULL}, /* 47 */ - {0, NULL}, /* 48 */ - {0, NULL}, /* 49 */ + { 0, NULL }, /* 46 */ + { 0, NULL }, /* 47 */ + { 0, NULL }, /* 48 */ + { 0, NULL }, /* 49 */ #if defined(BASEPRACTICE) || defined(NEWBIESERVER) - {sizeof(struct oggv_cpacket), handleOggV}, /* CP_OGGV */ + { sizeof(struct oggv_cpacket), handleOggV }, /* CP_OGGV */ #else - {0, NULL}, /* 50 */ + { 0, NULL }, /* 50 */ #endif - {0, NULL}, /* 51 */ - {0, NULL}, /* 52 */ - {0, NULL}, /* 53 */ - {0, NULL}, /* 54 */ - {0, NULL}, /* 55 */ - {0, NULL}, /* 56 */ - {0, NULL}, /* 57 */ - {0, NULL}, /* 58 */ - {0, NULL}, /* 59 */ + { 0, NULL }, /* 51 */ + { 0, NULL }, /* 52 */ + { 0, NULL }, /* 53 */ + { 0, NULL }, /* 54 */ + { 0, NULL }, /* 55 */ + { 0, NULL }, /* 56 */ + { 0, NULL }, /* 57 */ + { 0, NULL }, /* 58 */ + { 0, NULL }, /* 59 */ #ifdef FEATURE_PACKETS - {sizeof(struct feature_cpacket), handleFeature }, /* CP_FEATURE */ + { sizeof(struct feature_cpacket), handleFeature }, /* CP_FEATURE */ +#else + { 0, NULL }, /* 60 */ #endif };