metar fix?
authorBrenden Matthews <brenden1@rty.ca>
Mon, 15 Aug 2005 03:27:04 +0000 (03:27 +0000)
committerBrenden Matthews <brenden1@rty.ca>
Mon, 15 Aug 2005 03:27:04 +0000 (03:27 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@112 7f574dfc-610e-0410-a909-a81674777703

metarinfo.c

index 04f1d0e..96ef23f 100644 (file)
@@ -169,9 +169,12 @@ void update_metar()
                status = 2;
                iret1 = pthread_create(&thread1, NULL, fetch_ftp, NULL);
        } else if (status == 2) {       /* thread is still running.  let's kill it and start again */
-               pthread_cancel(thread1);
+               /*pthread_cancel(thread1);
                status = 2;
-               iret1 = pthread_create(&thread1, NULL, fetch_ftp, NULL);
+               iret1 = pthread_create(&thread1, NULL, fetch_ftp, NULL);*/
+               /*
+                * actually, lets do nothing for a while
+                */
        } else if (status == 1) {               /* status must be 1 */
                pthread_join(thread1, NULL);
                status = 2;