summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-10-15 12:32:58 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-10-15 12:32:58 -0400
commitc3f7e27f94563adc50e857d31c602ec03c2e7332 (patch)
treef8600f1c14d214bd80c9a904b0a3adac62df6658 /device-functions.c
parent969879565a82fc646b00afcc7549a10f95623fa1 (diff)
astyle fixes
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/device-functions.c b/device-functions.c
index 62ca0ff..2ec40e8 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -4566,7 +4566,8 @@ int IO_Setup_RS232(int baud, char hardhand, gboolean update_flash)
return OK;
}
-int change_password (gchar *old_password, gchar *new_password) {
+int change_password (gchar *old_password, gchar *new_password)
+{
gboolean old_valid = TRUE;
@@ -4577,7 +4578,7 @@ int change_password (gchar *old_password, gchar *new_password) {
// only happens when resetting the password to the default.
if (old_password != NULL) {
printf ("verifying old password: %s\n", old_password); //FIXME with real function
- // check, and set old_valid = FALSE if the password check fails
+ // check, and set old_valid = FALSE if the password check fails
}
if (old_valid == TRUE) {