[ekg2-commit] r3853 - in trunk/plugins: feed ncurses polchat: trunk/plugins/feed/feed.c trunk/plugins/feed/nntp.c trunk/plugins/ncurses/old.c trunk/plugins/polchat/polchat.c
SVN commit
svn w toxygen.net
Pią, 7 Mar 2008, 19:41:01 CET
Author: peres
Date: 2008-03-07 19:41:00 +0100 (Fri, 07 Mar 2008)
New Revision: 3853
Modified:
trunk/plugins/feed/feed.c
trunk/plugins/feed/nntp.c
trunk/plugins/ncurses/old.c
trunk/plugins/polchat/polchat.c
Log:
And last ones for today.
Modified: trunk/plugins/feed/feed.c
===================================================================
--- trunk/plugins/feed/feed.c 2008-03-07 18:11:45 UTC (rev 3852)
+++ trunk/plugins/feed/feed.c 2008-03-07 18:41:00 UTC (rev 3853)
@@ -120,7 +120,7 @@
char *body = *(va_arg(ap, char **));
int *new = va_arg(ap, int *); /* 0 - old; 1 - new; 2 - modified */
- int mtags = *(va_arg(ap, int *));
+ { int UNUSED(mtags) = *(va_arg(ap, int *)); }
session_t *s = session_find(session);
char *tmp;
Modified: trunk/plugins/feed/nntp.c
===================================================================
--- trunk/plugins/feed/nntp.c 2008-03-07 18:11:45 UTC (rev 3852)
+++ trunk/plugins/feed/nntp.c 2008-03-07 18:41:00 UTC (rev 3853)
@@ -183,7 +183,6 @@
session_t *s = session_find(d->session);
nntp_private_t *j;
struct stat st;
- FILE *f;
if (!s || !s->priv) {
print("nntp_posting_failed", session_name(s), d->newsgroup, "session not found", d->filename);
@@ -350,7 +349,7 @@
ENCODING_8BIT,
} cte = ENCODING_UNKNOWN;
- char *encoding;
+// char *encoding;
char *tmp;
char *text;
Modified: trunk/plugins/ncurses/old.c
===================================================================
--- trunk/plugins/ncurses/old.c 2008-03-07 18:11:45 UTC (rev 3852)
+++ trunk/plugins/ncurses/old.c 2008-03-07 18:41:00 UTC (rev 3853)
@@ -1275,9 +1275,9 @@
if (!w)
return -1;
- if (!config_display_pl_chars) {
+ if (!config_display_pl_chars) { /* XXX: oops, we're capable only of iso2 */
ftext = xstrdup(format);
- iso_to_ascii(ftext);
+ iso_to_ascii((unsigned char*) ftext);
p = ftext;
} else p = format;
@@ -1368,7 +1368,7 @@
if (!config_display_pl_chars) {
ftext = text = xstrdup(text);
- iso_to_ascii(text);
+ iso_to_ascii((unsigned char*) text);
}
while (*text) {
Modified: trunk/plugins/polchat/polchat.c
===================================================================
--- trunk/plugins/polchat/polchat.c 2008-03-07 18:11:45 UTC (rev 3852)
+++ trunk/plugins/polchat/polchat.c 2008-03-07 18:41:00 UTC (rev 3853)
@@ -213,7 +213,7 @@
array_free(arr);
}
- w->data = (void *) w->buf->len;
+ w->data = (void *) (long int) w->buf->len;
return w;
}
Więcej informacji o liście dyskusyjnej ekg2-commit