родитель
2aec79ce36
Коммит
8843d8b68d
@ -175,7 +175,11 @@ void hmac_final(HMACCTX ctx,unsigned char *hashmacbuf,unsigned int *len);
|
||||
struct string_struct {
|
||||
u32 size;
|
||||
unsigned char string[MAX_PACKET_LEN];
|
||||
} __attribute__ ((packed));
|
||||
}
|
||||
#if !defined(__SUNPRO_C)
|
||||
__attribute__ ((packed))
|
||||
#endif
|
||||
;
|
||||
|
||||
/** Describes a buffer state at a moment
|
||||
*/
|
||||
@ -804,6 +808,12 @@ int ssh_execute_message_callbacks(SSH_SESSION *session);
|
||||
|
||||
/* log.c */
|
||||
|
||||
#ifndef __FUNCTION__
|
||||
#if defined(__SUNPRO_C)
|
||||
#define __FUNCTION__ __func__
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define _enter_function(sess) \
|
||||
do {\
|
||||
if((sess)->log_verbosity >= SSH_LOG_FUNCTIONS){ \
|
||||
|
4
sample.c
4
sample.c
@ -555,8 +555,10 @@ int main(int argc, char **argv){
|
||||
else
|
||||
batch_shell(session);
|
||||
}
|
||||
#ifdef WITH_SFTP
|
||||
else
|
||||
do_sftp(session);
|
||||
do_sftp(session);
|
||||
#endif
|
||||
if(!sftp && !cmds[0])
|
||||
do_cleanup(0);
|
||||
ssh_disconnect(session);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user