Mercurial > dropbear
comparison cli-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 | e7f11ed5fe28 |
children | 38c6bcbf4f4a |
comparison
equal
deleted
inserted
replaced
1403:ae6887d9ab46 | 1404:e8f67918fdc9 |
---|---|
79 #else | 79 #else |
80 /* For keepalive */ | 80 /* For keepalive */ |
81 {SSH_MSG_REQUEST_SUCCESS, ignore_recv_response}, | 81 {SSH_MSG_REQUEST_SUCCESS, ignore_recv_response}, |
82 {SSH_MSG_REQUEST_FAILURE, ignore_recv_response}, | 82 {SSH_MSG_REQUEST_FAILURE, ignore_recv_response}, |
83 #endif | 83 #endif |
84 {0, 0} /* End */ | 84 {0, NULL} /* End */ |
85 }; | 85 }; |
86 | 86 |
87 static const struct ChanType *cli_chantypes[] = { | 87 static const struct ChanType *cli_chantypes[] = { |
88 #if DROPBEAR_CLI_REMOTETCPFWD | 88 #if DROPBEAR_CLI_REMOTETCPFWD |
89 &cli_chan_tcpremote, | 89 &cli_chan_tcpremote, |