Removing spurious spaces. - rfkilld - An rfkill daemon, which runs scripts according to rfkill events.
       
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit c52e622e9f89f44ea465dd96bf6f13a00bb0aca6
 (DIR) parent 531cb39c1fb922082dd22a846eb7474230a10da7
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Sun, 27 Feb 2011 10:53:36 +0100
       
       Removing spurious spaces.
       
       Diffstat:
         arg.h                               |       2 +-
         rfkilld.c                           |       6 +++---
       
       2 files changed, 4 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/arg.h b/arg.h
       @@ -1,7 +1,7 @@
        #ifndef ARG_H
        #define ARG_H
        
       -#define USED(x) ((void)(x))        
       +#define USED(x) ((void)(x))
        
        extern char *argv0;
        
 (DIR) diff --git a/rfkilld.c b/rfkilld.c
       @@ -29,7 +29,7 @@ int dolog = 0;
        void
        runifexecutable(char *file, char *oname, char *ostate)
        {
       -        char cmd[512], name[64], state[16]; 
       +        char cmd[512], name[64], state[16];
                int pid;
        
                strncpy(name, oname, sizeof(name));
       @@ -148,11 +148,11 @@ main(int argc, char *argv[])
                mon = udev_monitor_new_from_netlink(udev, "kernel");
                udev_monitor_filter_add_match_subsystem_devtype(mon, "rfkill", NULL);
                udev_monitor_enable_receiving(mon);
       -        
       +
                fds[0].fd = udev_monitor_get_fd(mon);
                fds[0].events = POLLIN|POLLPRI;
                while(running) {
       -                ret = poll(fds, 1, 500);        
       +                ret = poll(fds, 1, 500);
                        if (ret > 0) {
                                if ((fds[0].revents & POLLIN) \
                                                || (fds[0].revents & POLLPRI)) {