diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-09-06 18:50:43 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-09-06 18:50:43 +0200 |
commit | bf19ba139976d53dd72f07ff01d149e862d01716 (patch) | |
tree | 5128a0b2aae83d7fcd2f62f091b688969ccb9d46 | |
parent | 4b9b2db912eeea91218e3bbff6fb1668e0179cdd (diff) |
minor formatting
-rw-r--r-- | plugins/upd/upd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/upd/upd.c b/plugins/upd/upd.c index 119ad60d..6a795054 100644 --- a/plugins/upd/upd.c +++ b/plugins/upd/upd.c @@ -35,7 +35,7 @@ char* check_version () { HINTERNET hINet, hFile; - hINet = InternetOpen("XChat-WDK Update Checker", INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0 ); + hINet = InternetOpen ("XChat-WDK Update Checker", INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0); if (!hINet) { @@ -48,7 +48,7 @@ check_version () { static char buffer[1024]; DWORD dwRead; - while (InternetReadFile(hFile, buffer, 1023, &dwRead)) + while (InternetReadFile (hFile, buffer, 1023, &dwRead)) { if (dwRead == 0) { @@ -95,8 +95,8 @@ xchat_plugin_init (xchat_plugin *plugin_handle, char **plugin_name, char **plugi *plugin_desc = "Plugin for checking for XChat-WDK updates"; *plugin_version = "1.0"; - xchat_hook_command(ph, "UPD", XCHAT_PRI_NORM, print_version, 0, 0); - xchat_print(ph, "XChat-WDK Updater plugin loaded\n"); + xchat_hook_command (ph, "UPD", XCHAT_PRI_NORM, print_version, 0, 0); + xchat_print (ph, "XChat-WDK Updater plugin loaded\n"); print_version (); return 1; /* return 1 for success */ @@ -105,6 +105,6 @@ xchat_plugin_init (xchat_plugin *plugin_handle, char **plugin_name, char **plugi int xchat_plugin_deinit (void) { - xchat_print(ph, "XChat-WDK Updater plugin unloaded\n"); + xchat_print (ph, "XChat-WDK Updater plugin unloaded\n"); return 1; } |