mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +00:00
claen up warnings
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@826 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
3006f7574a
commit
c268b7130e
@ -3,6 +3,7 @@
|
|||||||
2006-01-07
|
2006-01-07
|
||||||
* Add config.rpath (created by gettextize -copy) to distributtion
|
* Add config.rpath (created by gettextize -copy) to distributtion
|
||||||
to satisfy AM_ICONV.
|
to satisfy AM_ICONV.
|
||||||
|
* Clean up some warnings.
|
||||||
|
|
||||||
2006-12-29
|
2006-12-29
|
||||||
* Update svn ebuild to new sourceforge url scheme.
|
* Update svn ebuild to new sourceforge url scheme.
|
||||||
|
@ -4644,7 +4644,7 @@ static void generate_text_internal(char *p, int p_max_size, struct text_object *
|
|||||||
} else {
|
} else {
|
||||||
obj->data.tail.last_update = current_update_time;
|
obj->data.tail.last_update = current_update_time;
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
long nl, bsize;
|
long nl=0, bsize;
|
||||||
int iter;
|
int iter;
|
||||||
fp = fopen(obj->data.tail.logfile, "rt");
|
fp = fopen(obj->data.tail.logfile, "rt");
|
||||||
if (fp == NULL) {
|
if (fp == NULL) {
|
||||||
@ -4708,7 +4708,7 @@ static void generate_text_internal(char *p, int p_max_size, struct text_object *
|
|||||||
} else {
|
} else {
|
||||||
obj->data.tail.last_update = current_update_time;
|
obj->data.tail.last_update = current_update_time;
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
long nl;
|
long nl=0;
|
||||||
int iter;
|
int iter;
|
||||||
fp = fopen(obj->data.tail.logfile, "rt");
|
fp = fopen(obj->data.tail.logfile, "rt");
|
||||||
if (fp == NULL) {
|
if (fp == NULL) {
|
||||||
|
@ -300,6 +300,8 @@ static int mpd_parseWelcome(mpd_Connection * connection, const char * host, int
|
|||||||
char * test;
|
char * test;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
rt = (char *)rt;
|
||||||
|
|
||||||
if(strncmp(output,MPD_WELCOME_MESSAGE,strlen(MPD_WELCOME_MESSAGE))) {
|
if(strncmp(output,MPD_WELCOME_MESSAGE,strlen(MPD_WELCOME_MESSAGE))) {
|
||||||
snprintf(connection->errorStr,MPD_BUFFER_MAX_LENGTH,
|
snprintf(connection->errorStr,MPD_BUFFER_MAX_LENGTH,
|
||||||
"mpd not running on port %i on host \"%s\"",
|
"mpd not running on port %i on host \"%s\"",
|
||||||
|
Loading…
Reference in New Issue
Block a user