[ekg2-commit] r3866 - trunk/plugins/logs: trunk/plugins/logs/main.c trunk/plugins/logs/main.h

SVN commit svn w toxygen.net
Sob, 8 Mar 2008, 21:37:47 CET


Author: peres
Date: 2008-03-08 21:37:47 +0100 (Sat, 08 Mar 2008)
New Revision: 3866

Modified:
   trunk/plugins/logs/main.c
   trunk/plugins/logs/main.h
Log:

Oh, yes, unenumize class ( ;.



Modified: trunk/plugins/logs/main.c
===================================================================
--- trunk/plugins/logs/main.c	2008-03-08 20:34:51 UTC (rev 3865)
+++ trunk/plugins/logs/main.c	2008-03-08 20:37:47 UTC (rev 3866)
@@ -1094,7 +1094,7 @@
  * typ,uid,nickname,timestamp,{timestamp wyslania dla odleglych}, text
  */
 
-static void logs_simple(FILE *file, const char *session, const char *uid, const char *text, time_t sent, enum msgclass_t class, const char *status) {
+static void logs_simple(FILE *file, const char *session, const char *uid, const char *text, time_t sent, msgclass_t class, const char *status) {
 	char *textcopy;
 	const char *timestamp = prepare_timestamp_format(config_logs_timestamp, time(0));
 
@@ -1158,7 +1158,7 @@
  * zapis w formacie xml
  */
 
-static void logs_xml(FILE *file, const char *session, const char *uid, const char *text, time_t sent, enum msgclass_t class) {
+static void logs_xml(FILE *file, const char *session, const char *uid, const char *text, time_t sent, msgclass_t class) {
 	session_t *s;
 	char *textcopy;
 	const char *timestamp = prepare_timestamp_format(config_logs_timestamp, time(NULL));

Modified: trunk/plugins/logs/main.h
===================================================================
--- trunk/plugins/logs/main.h	2008-03-08 20:34:51 UTC (rev 3865)
+++ trunk/plugins/logs/main.h	2008-03-08 20:37:47 UTC (rev 3866)
@@ -57,8 +57,8 @@
 static QUERY(logs_handler_irc);
 static QUERY(logs_handler_raw);
 
-static void logs_simple(FILE *file, const char *session, const char *uid, const char *text, time_t sent, enum msgclass_t class, const char *status);
-static void logs_xml	(FILE *file, const char *session, const char *uid, const char *text, time_t sent, enum msgclass_t class);
+static void logs_simple(FILE *file, const char *session, const char *uid, const char *text, time_t sent, msgclass_t class, const char *status);
+static void logs_xml	(FILE *file, const char *session, const char *uid, const char *text, time_t sent, msgclass_t class);
 static void logs_irssi	(FILE *file, const char *session, const char *uid, const char *text, time_t sent, int type);
 #if 0 /* never started? */
 static void logs_gaim();



Więcej informacji o liście dyskusyjnej ekg2-commit