/[svn]/ircd-hybrid-7.2/src/s_misc.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/src/s_misc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1003 by michael, Sun Aug 2 18:05:28 2009 UTC revision 1004 by michael, Mon Aug 31 21:29:56 2009 UTC
# Line 115  smalldate(time_t lclock) Line 115  smalldate(time_t lclock)
115    return buf;    return buf;
116  }  }
117    
 /* small_file_date()  
  * Make a small YYYYMMDD formatted string suitable for a  
  * dated file stamp.  
  */  
 char *  
 small_file_date(time_t lclock)  
 {  
   static char timebuffer[MAX_DATE_STRING];  
   struct tm *tmptr;  
   
   if (!lclock)  
     time(&lclock);  
   
   tmptr = localtime(&lclock);  
   strftime(timebuffer, MAX_DATE_STRING, "%Y%m%d", tmptr);  
   
   return timebuffer;  
 }  
   
118  #ifdef HAVE_LIBCRYPTO  #ifdef HAVE_LIBCRYPTO
119  char *  char *
120  ssl_get_cipher(const SSL *ssl)  ssl_get_cipher(const SSL *ssl)

Legend:
Removed from v.1003  
changed lines
  Added in v.1004

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28