]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
cosmetics
authorAndre <maan@p133.(none)>
Wed, 19 Apr 2006 03:06:34 +0000 (05:06 +0200)
committerAndre <maan@p133.(none)>
Wed, 19 Apr 2006 03:06:34 +0000 (05:06 +0200)
audioc.c
write.c

index 1fa9880210e96d8ca2509df78980453374a4e469..b9e7853fcee803f6dee6b92cf8691aa06e8843ed 100644 (file)
--- a/audioc.c
+++ b/audioc.c
@@ -51,7 +51,7 @@ static char *concat_args(const int argc, char * const *argv)
 static char *configfile_exists(void)
 {
        static char *config_file;
 static char *configfile_exists(void)
 {
        static char *config_file;
-        struct stat statbuf;
+       struct stat statbuf;
 
 
        if (!config_file) {
 
 
        if (!config_file) {
@@ -59,7 +59,7 @@ static char *configfile_exists(void)
                config_file = make_message("%s/.paraslash/audioc.conf", home);
                free(home);
        }
                config_file = make_message("%s/.paraslash/audioc.conf", home);
                free(home);
        }
-        if (!stat(config_file, &statbuf))
+       if (!stat(config_file, &statbuf))
                return config_file;
        return NULL;
 }
                return config_file;
        return NULL;
 }
@@ -137,7 +137,7 @@ int main(int argc, char *argv[])
                        goto out;
                }
                if (loaded < conf.bufsize_arg && FD_ISSET(fd, &rfd)) {
                        goto out;
                }
                if (loaded < conf.bufsize_arg && FD_ISSET(fd, &rfd)) {
-                       len = recv_bin_buffer(fd, buf + loaded, 
+                       len = recv_bin_buffer(fd, buf + loaded,
                                conf.bufsize_arg - loaded);
                        if (len <= 0) {
                                ret = len < 0? -E_READ : 0;
                                conf.bufsize_arg - loaded);
                        if (len <= 0) {
                                ret = len < 0? -E_READ : 0;
diff --git a/write.c b/write.c
index 5e8c3195dc3bcc8b0c607c3ab32c463aad355171..3fb0ef0d3b61b88cd5b4e298a16345c8fbf847f4 100644 (file)
--- a/write.c
+++ b/write.c
@@ -167,7 +167,6 @@ out:
        wng_close(wng);
        return ret;
 }
        wng_close(wng);
        return ret;
 }
-/* write.c */
 
 struct writer_node_group *check_args(void)
 {
 
 struct writer_node_group *check_args(void)
 {