Difference for server/main.c from version 1.36 to 1.37


version 1.36 version 1.37
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_main_c =   * static char *rcsid_main_c =
  *    "$Id: main.c,v 1.36 2001/03/30 07:52:24 mwedel Exp $";   *    "$Id: main.c,v 1.37 2001/04/06 00:40:49 michtoen Exp $";
  */   */
   
 /*  /*
Line 148
 
Line 148
 }  }
   
 char *crypt_string(char *str, char *salt) {  char *crypt_string(char *str, char *salt) {
   #ifndef WIN32 // ***win32 crypt_string:: We don't need this anymore since server/client fork
   static char *c=    static char *c=
     "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./";      "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./";
   char s[2];    char s[2];
Line 162
 
Line 163
 #else  #else
   return (char*)crypt(str,s);    return (char*)crypt(str,s);
 #endif  #endif
   #endif // win32
     return(str);
 }  }
   
 int check_password(char *typed,char *crypted) {  int check_password(char *typed,char *crypted) {
Line 1034
 
Line 1037
 int main(int argc,char **argv)  int main(int argc,char **argv)
 {  {
   
   #ifdef WIN32
    _fmode = _O_BINARY ;
   #endif
   
 #ifdef DEBUG_MALLOC_LEVEL  #ifdef DEBUG_MALLOC_LEVEL
   malloc_debug(DEBUG_MALLOC_LEVEL);    malloc_debug(DEBUG_MALLOC_LEVEL);
 #endif  #endif


Legend:
line(s) removed in v.1.36 
line(s) changed
 line(s) added in v.1.37

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:36