From 94d0c146e6112e82053cfbe0868cd3c24cd44d8d Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Tue, 26 Jul 2005 04:35:08 +0000 Subject: [PATCH] small fix in metar stuff git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@17 7f574dfc-610e-0410-a909-a81674777703 --- changelog.html | 351 ------------------------------------------------- metarinfo.c | 3 + 2 files changed, 3 insertions(+), 351 deletions(-) delete mode 100644 changelog.html diff --git a/changelog.html b/changelog.html deleted file mode 100644 index ac5130f5..00000000 --- a/changelog.html +++ /dev/null @@ -1,351 +0,0 @@ -

2005-07-17

- -

- -

2005-07-16

- -

- -

2005-07-12

- -

- -

2005-07-05

- -

- -

2005-07-03

- -

- -

2005-07-01

- -

- -

2005-06-30

- -

- -

2005-06-28

- -

- -

2005-06-26

- -

- -

2005-06-25

- -

- -

2005-06-23

- -

- -

2005-06-22

- -

- -

2005-06-21

- -

- -

2004-12-22

- -

- -

2004-12-21

- -

- -

2004-11-30

- -

- -

2004-11-29

- -

- -

2004-08-25

- -

- -

2004-07-31

- -

- -

2004-07-25

- -

- -

2004-07-24

- -

- -

2004-07-20

- -

- -

2004-07-05

- -

- -

2004-06-03

- -

- -

2004-06-01

- -

- -

2004-05-25

- -

- -

2004-05-23

- -

- -

2004-05-19

- -

- -

2004-05-18

- -

- -

2004-05-16

- -

- -

2004-05-15

- -

- -

2004-05-14

- -

- -

2004-05-14

- -

- -

2004-05-13

- -

- -

2004-05-12

- -

- -

2004-05-11

- -

- -

2004-05-10

- -

- -

2004-05-09

- -

- -

2004-05-06

- diff --git a/metarinfo.c b/metarinfo.c index 44e80ab8..6f01dc20 100644 --- a/metarinfo.c +++ b/metarinfo.c @@ -105,16 +105,19 @@ void *fetch_ftp( ) { res = connectFtp(metar_server, 0); if (res < 0) { ERR("Couldn't connect to %s\n", metar_server); + status = 1; return NULL; } res = changeFtpDirectory(metar_path); if (res < 0) { ERR("Metar update failed (couldn't CWD to %s)\n", metar_path); disconnectFtp(); + status = 1; return NULL; } if (res == 0) { ERR("Metar update failed\n"); + status = 1; return NULL; } if (getFtp(ftpData, NULL, metar_station) < 0) {