From 688f352eb47f62ba952389be04cfbea28e1063ba Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Tue, 22 Jan 2008 17:12:21 +0000 Subject: [PATCH] Added vim config instruction to not use spaces. git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@198 bc163920-b10d-0410-b2c5-a5491ca2ceef --- base64.c | 2 ++ base64.h | 2 ++ basicauth.c | 1 + basicauth.h | 2 +- cmdline.c | 2 ++ cmdline.h | 2 ++ config.h | 2 ++ global.h | 2 ++ io.c | 2 ++ io.h | 2 ++ messages.c | 2 ++ ntlm.c | 2 +- ntlm.h | 1 + proxytunnel.c | 2 ++ proxytunnel.h | 1 + ptstream.c | 2 ++ ptstream.h | 2 ++ readpassphrase.c | 2 ++ setproctitle.c | 2 ++ 19 files changed, 33 insertions(+), 2 deletions(-) diff --git a/base64.c b/base64.c index 324309b..69ec96a 100644 --- a/base64.c +++ b/base64.c @@ -137,3 +137,5 @@ int unbase64(unsigned char *out, const unsigned char *in, int maxlen) return (len); } + +// vim:noet diff --git a/base64.h b/base64.h index 2dac24f..288a8c9 100644 --- a/base64.h +++ b/base64.h @@ -21,3 +21,5 @@ void base64(unsigned char *out, const unsigned char *in, int len); int unbase64(unsigned char *out, const unsigned char *in, int maxlen); + +// vim:noet diff --git a/basicauth.c b/basicauth.c index 1653b4a..e1d199c 100644 --- a/basicauth.c +++ b/basicauth.c @@ -56,3 +56,4 @@ void make_basicauth() free( p ); } +// vim:noet diff --git a/basicauth.h b/basicauth.h index 59af0b7..0895d15 100644 --- a/basicauth.h +++ b/basicauth.h @@ -23,4 +23,4 @@ char basicauth[80]; /* Buffer to hold the proxies basic authentication data */ /* Functions */ void make_basicauth(); - +// vim:noet diff --git a/cmdline.c b/cmdline.c index 2d1fdde..5dd14a1 100644 --- a/cmdline.c +++ b/cmdline.c @@ -522,3 +522,5 @@ static char *getCredentialsFromFile( const char* filename, char **user, char **p return strdup( "Error opening password file" ); } + +// vim:noet diff --git a/cmdline.h b/cmdline.h index f29d860..ae72b53 100644 --- a/cmdline.h +++ b/cmdline.h @@ -71,3 +71,5 @@ void cmdline_parser_print_help( void ); void cmdline_parser_print_version( void ); #endif /* _cmdline_h */ + +// vim:noet diff --git a/config.h b/config.h index bf236b0..f2e996c 100644 --- a/config.h +++ b/config.h @@ -28,3 +28,5 @@ #ifndef _PASSWORD_LEN # define _PASSWORD_LEN 80 #endif + +// vim:noet diff --git a/global.h b/global.h index b692156..a8190d6 100644 --- a/global.h +++ b/global.h @@ -29,3 +29,5 @@ If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it #else #define PROTO_LIST(list) () #endif + +// vim:noet diff --git a/io.c b/io.c index 471a99e..921e6fc 100644 --- a/io.c +++ b/io.c @@ -160,3 +160,5 @@ void cpio(PTSTREAM *stream1, PTSTREAM *stream2) } closeall(); } + +// vim:noet diff --git a/io.h b/io.h index b162b2c..15ee154 100644 --- a/io.h +++ b/io.h @@ -20,3 +20,5 @@ /* io.h */ int readline(PTSTREAM *pts); void cpio(PTSTREAM *stream1, PTSTREAM *stream2); + +// vim:noet diff --git a/messages.c b/messages.c index 9c37bda..e302b4a 100644 --- a/messages.c +++ b/messages.c @@ -54,3 +54,5 @@ void my_perror( char *msg ) message( "error: %s: [%d] %s\n", msg, errno, errstr ); } } + +// vim:noet diff --git a/ntlm.c b/ntlm.c index 103c481..e539108 100644 --- a/ntlm.c +++ b/ntlm.c @@ -482,4 +482,4 @@ void build_ntlm2_response() { lm2digest[16 + i] = b->client_challenge[i]; } - +// vim:noet diff --git a/ntlm.h b/ntlm.h index 457f9e3..ef4ea19 100644 --- a/ntlm.h +++ b/ntlm.h @@ -109,3 +109,4 @@ typedef struct { unsigned long data_start; } blob; +// vim:noet diff --git a/proxytunnel.c b/proxytunnel.c index 1a31c86..546db9e 100644 --- a/proxytunnel.c +++ b/proxytunnel.c @@ -459,3 +459,5 @@ int main( int argc, char *argv[] ) exit( 0 ); } + +// vim:noet diff --git a/proxytunnel.h b/proxytunnel.h index 2a2d243..78a401c 100644 --- a/proxytunnel.h +++ b/proxytunnel.h @@ -63,3 +63,4 @@ char buf[SIZE]; /* Data transfer buffer */ #define MAX( x, y ) ( ( (x)>(y) ) ? (x) : (y) ) #endif +// vim:noet diff --git a/ptstream.c b/ptstream.c index fd8ede3..eb5ae64 100644 --- a/ptstream.c +++ b/ptstream.c @@ -244,3 +244,5 @@ int stream_get_outgoing_fd(PTSTREAM *pts) return pts->outgoing_fd; #endif } + +// vim:noet diff --git a/ptstream.h b/ptstream.h index 7c5eb94..119a82d 100644 --- a/ptstream.h +++ b/ptstream.h @@ -48,3 +48,5 @@ int stream_copy(PTSTREAM *pts_from, PTSTREAM *pts_to); int stream_enable_ssl(PTSTREAM *pts); int stream_get_incoming_fd(PTSTREAM *pts); int stream_get_outgoing_fd(PTSTREAM *pts); + +// vim:noet diff --git a/readpassphrase.c b/readpassphrase.c index 63c65a8..c2b1b73 100644 --- a/readpassphrase.c +++ b/readpassphrase.c @@ -207,3 +207,5 @@ static void handler(int s) signo = s; } #endif /* HAVE_READPASSPHRASE */ + +// vim:noet diff --git a/setproctitle.c b/setproctitle.c index 242b3e5..9ad5b05 100644 --- a/setproctitle.c +++ b/setproctitle.c @@ -170,3 +170,5 @@ setproctitle(const char *fmt, ...) } #endif /* HAVE_SETPROCTITLE */ + +// vim:noet