Tabbing cleanups for poll helper functions.
authorDerrik Pates <demon@now.ai>
Wed, 4 Apr 2012 22:58:17 +0000 (16:58 -0600)
committerDerrik Pates <demon@now.ai>
Wed, 4 Apr 2012 22:58:17 +0000 (16:58 -0600)
Fuse.xs

diff --git a/Fuse.xs b/Fuse.xs
index 5c19b92..462fb74 100755 (executable)
--- a/Fuse.xs
+++ b/Fuse.xs
@@ -1794,27 +1794,27 @@ pollhandle_destroy(...)
     PREINIT:
        struct fuse_pollhandle *ph;
     INIT:
-        if (items != 1) {
-            fprintf(stderr, "No pollhandle passed?\n");
-            XSRETURN_UNDEF;
-        }
-       CODE:
-        ph = INT2PTR(struct fuse_pollhandle*, SvIV(ST(0)));
-               fuse_pollhandle_destroy(ph);
+       if (items != 1) {
+               fprintf(stderr, "No pollhandle passed?\n");
+               XSRETURN_UNDEF;
+       }
+    CODE:
+       ph = INT2PTR(struct fuse_pollhandle*, SvIV(ST(0)));
+       fuse_pollhandle_destroy(ph);
 
 int 
 notify_poll(...)
     PREINIT:
-        struct fuse_pollhandle *ph;
+       struct fuse_pollhandle *ph;
     INIT:
-        if (items != 1) {
-            fprintf(stderr, "No pollhandle passed?\n");
-            XSRETURN_UNDEF;
-        }
-       CODE:
-        ph = INT2PTR(struct fuse_pollhandle*, SvIV(ST(0)));
-               RETVAL = fuse_notify_poll(ph);
-       OUTPUT:
-               RETVAL
+       if (items != 1) {
+               fprintf(stderr, "No pollhandle passed?\n");
+               XSRETURN_UNDEF;
+       }
+    CODE:
+       ph = INT2PTR(struct fuse_pollhandle*, SvIV(ST(0)));
+       RETVAL = fuse_notify_poll(ph);
+    OUTPUT:
+       RETVAL
 
 #endif