[ekg2-commit] ekg2: commands.c (HEAD) [peres]

CVS commit cvs w toxygen.net
Czw, 10 Maj 2007, 21:58:48 CEST


Module name:	ekg2
Changes by:	peres	2007-05-10 21:58:45

Modified files:
	commands.c

Log message:
Update io_* formats to contain more info.

Index: commands.c
===================================================================
RCS file: /home/cvs/ekg2/plugins/jabber/commands.c,v
diff -d -u -r1.174 -r1.175
--- commands.c	10 May 2007 19:19:49 -0000	1.174
+++ commands.c	10 May 2007 19:58:45 -0000	1.175
@@ -105,12 +105,12 @@
 		}
 
 		if (!stat(fn, &st) && !S_ISREG(st.st_mode)) {
-			printq("io_nonfile");
+			printq("io_nonfile", params[2]);
 			return -1;
 		}
 
 		if ((fd = fopen(fn, "r")) == NULL) {
-			printq("io_cantopen");
+			printq("io_cantopen", params[2], strerror(errno));
 			return -1;
 		}
 


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