commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 04/75: random: fix odd formatting


From: Samuel Thibault
Subject: [hurd] 04/75: random: fix odd formatting
Date: Thu, 14 Jan 2016 01:04:01 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch dde
in repository hurd.

commit 608ea90065a50b7f8e3a5592c8e8e4cbd0265490
Author: Justus Winter <address@hidden>
Date:   Fri Nov 6 11:48:39 2015 +0100

    random: fix odd formatting
    
    * random/random.c (trivfs_append_args): Fix odd formatting.
---
 random/random.c | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/random/random.c b/random/random.c
index 15be383..9ade161 100644
--- a/random/random.c
+++ b/random/random.c
@@ -486,25 +486,20 @@ trivfs_append_args (struct trivfs_control *fsys,
 {
   error_t err = 0;
   char *opt;
-  
+
   pthread_mutex_lock (&global_lock);
   switch (level)
     {
     case 0:
-      {
        opt = "--weak";
        break;
-      }
+
     case 1:
-      {
        opt = "--fast";
        break;
-      }
+
     default:
-      {
        opt = "--secure";
-       break;
-      }
     }
   if (level != DEFAULT_LEVEL)
     err = argz_add (argz, argz_len, opt);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]