ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/s_misc.c
(Generate patch)

Comparing:
ircd-hybrid-7.2/src/s_misc.c (file contents), Revision 967 by michael, Sun Aug 2 18:05:28 2009 UTC vs.
ircd-hybrid/src/s_misc.c (file contents), Revision 1028 by michael, Sun Nov 8 13:03:38 2009 UTC

# Line 115 | Line 115 | smalldate(time_t lclock)
115    return buf;
116   }
117  
118 /* small_file_date()
119 * Make a small YYYYMMDD formatted string suitable for a
120 * dated file stamp.
121 */
122 char *
123 small_file_date(time_t lclock)
124 {
125  static char timebuffer[MAX_DATE_STRING];
126  struct tm *tmptr;
127
128  if (!lclock)
129    time(&lclock);
130
131  tmptr = localtime(&lclock);
132  strftime(timebuffer, MAX_DATE_STRING, "%Y%m%d", tmptr);
133
134  return timebuffer;
135 }
136
118   #ifdef HAVE_LIBCRYPTO
119   char *
120   ssl_get_cipher(const SSL *ssl)

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)