Changeset 802 for TI05-delivery/trunk/src/bbftp-client-3.2.0
- Timestamp:
- 20/04/06 13:47:58 (15 years ago)
- Location:
- TI05-delivery/trunk/src/bbftp-client-3.2.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TI05-delivery/trunk/src/bbftp-client-3.2.0/bbftpc/bbftp_private_user.c
r773 r802 50 50 ** logmessage : to write the error message in case of error * 51 51 ** * 52 ** GLOBAL VARIABLE USED : * * 52 ** GLOBAL VARIABLE USED : * 53 ** * 53 54 ** * 54 55 ** RETURN: * … … 117 118 int bbftp_private_auth(char *logmessage) 118 119 { 119 120 return 0 ; 120 /* Send version verification message. */ 121 if (bbftp_private_send(NDG_FTP_PROTOCOL, NDG_MESSAGE_LEN, logmessage) == -1) { 122 return -1; 123 } 124 125 return 0 ; 121 126 } -
TI05-delivery/trunk/src/bbftp-client-3.2.0/includes/bbftp_private_user.h
r773 r802 38 38 39 39 **/ 40 41 /* 42 * NDG-bbFTP test definitions. 43 */ 44 45 #define NDG_FTP_VERSION "v0.0.1" 46 #define NDG_FTP_PROTOCOL ("NDG-bbFTP" NDG_BBFTP_VERSION) 47 48 #define NDG_MESSAGE_LEN 256 49 50 /* The logmessage size limit is hard coded into the bbFTP source. I define a macro here to avoid 51 buffer overflows. 52 */ 53 #define NDG_MAX_LOGMESSAGE 1024
Note: See TracChangeset
for help on using the changeset viewer.