summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-11-08 03:33:01 +0000
committerBill Meier <wmeier@newsguy.com>2013-11-08 03:33:01 +0000
commit35a7aded3e20697d403117135926320f28e0b927 (patch)
tree0ac39be270ce3e88f43912c0cc7608fbd99f9fda /ui
parentd62f92b7f1ab7db4f1ca5c2608598c5760183a76 (diff)
downloadwireshark-35a7aded3e20697d403117135926320f28e0b927.tar.gz
Remove some trailing whitespace....
svn path=/trunk/; revision=53161
Diffstat (limited to 'ui')
-rw-r--r--ui/software_update.c14
-rw-r--r--ui/software_update.h6
2 files changed, 10 insertions, 10 deletions
diff --git a/ui/software_update.c b/ui/software_update.c
index 1e2d513232..b027ed0f49 100644
--- a/ui/software_update.c
+++ b/ui/software_update.c
@@ -37,7 +37,7 @@
* - The architecture name (variable, one of "x86", "x86-64")
* - The locale (fixed, "en-US)
* - The update channel (variable, one of "development" or "stable") + .xml
- *
+ *
* Based on https://wiki.mozilla.org/Software_Update:Checking_For_Updates
*/
@@ -61,16 +61,16 @@ static GString *update_url_str = NULL;
static const char *get_appcast_update_url(software_update_channel_e chan) {
const char *chan_name;
const char *arch = "x86";
-
+
if (!update_url_str) {
update_url_str = g_string_new("");
}
-
+
/* XXX Add WOW64 checks similar to version_info.c? */
if (sizeof(arch) != 4) {
arch = "x86-64";
}
-
+
switch (chan) {
case UPDATE_CHANNEL_DEVELOPMENT:
chan_name = "development";
@@ -95,7 +95,7 @@ static const char *get_appcast_update_url(software_update_channel_e chan) {
void
software_update_init(void) {
const char *update_url = get_appcast_update_url(prefs.gui_update_channel);
-
+
win_sparkle_set_registry_path("Software\\Wireshark\\WinSparkle Settings");
win_sparkle_set_appcast_url(update_url);
win_sparkle_set_automatic_check_for_updates(prefs.gui_update_enabled ? 1 : 0);
@@ -112,7 +112,7 @@ software_update_check(void) {
/** Clean up software update checking.
*
- * Does nothing on platforms that don't support software updates.
+ * Does nothing on platforms that don't support software updates.
*/
extern void software_update_cleanup(void) {
win_sparkle_cleanup();
@@ -134,7 +134,7 @@ software_update_check(void) {
/** Clean up software update checking.
*
- * Does nothing on platforms that don't support software updates.
+ * Does nothing on platforms that don't support software updates.
*/
extern void software_update_cleanup(void) {
}
diff --git a/ui/software_update.h b/ui/software_update.h
index b78ee00663..2cc315ce6e 100644
--- a/ui/software_update.h
+++ b/ui/software_update.h
@@ -31,19 +31,19 @@ extern "C" {
/** Initialize software updates.
*
- * Does nothing on platforms that don't support software updates.
+ * Does nothing on platforms that don't support software updates.
*/
extern void software_update_init(void);
/** Force a software update check.
*
- * Does nothing on platforms that don't support software updates.
+ * Does nothing on platforms that don't support software updates.
*/
extern void software_update_check(void);
/** Clean up software update checking.
*
- * Does nothing on platforms that don't support software updates.
+ * Does nothing on platforms that don't support software updates.
*/
extern void software_update_cleanup(void);