comparison svr-session.c @ 1404:e8f67918fdc9

when pointer, use NULL instead of 0
author Francois Perrad <francois.perrad@gadz.org>
date Fri, 02 Jun 2017 18:14:31 +0200
parents 2c9dac2d6707
children 798854f62430 0c16b4ccbd54
comparison
equal deleted inserted replaced
1403:ae6887d9ab46 1404:e8f67918fdc9
64 {SSH_MSG_REQUEST_SUCCESS, ignore_recv_response}, /* client */ 64 {SSH_MSG_REQUEST_SUCCESS, ignore_recv_response}, /* client */
65 #if DROPBEAR_LISTENERS 65 #if DROPBEAR_LISTENERS
66 {SSH_MSG_CHANNEL_OPEN_CONFIRMATION, recv_msg_channel_open_confirmation}, 66 {SSH_MSG_CHANNEL_OPEN_CONFIRMATION, recv_msg_channel_open_confirmation},
67 {SSH_MSG_CHANNEL_OPEN_FAILURE, recv_msg_channel_open_failure}, 67 {SSH_MSG_CHANNEL_OPEN_FAILURE, recv_msg_channel_open_failure},
68 #endif 68 #endif
69 {0, 0} /* End */ 69 {0, NULL} /* End */
70 }; 70 };
71 71
72 static const struct ChanType *svr_chantypes[] = { 72 static const struct ChanType *svr_chantypes[] = {
73 &svrchansess, 73 &svrchansess,
74 #if DROPBEAR_SVR_LOCALTCPFWD 74 #if DROPBEAR_SVR_LOCALTCPFWD