summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--plugins/upd/upd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/upd/upd.c b/plugins/upd/upd.c
index c5ff8b84..0186ed3c 100644
--- a/plugins/upd/upd.c
+++ b/plugins/upd/upd.c
@@ -57,13 +57,11 @@ check_version ()
 			buffer[dwRead] = 0;
 		}
 		
-		return buffer;
-
 		InternetCloseHandle (hFile);
+		return buffer;
 	}
 	
 	InternetCloseHandle (hINet);
-
 	return "Unknown";
 }