diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-05-19 03:50:09 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-05-19 03:50:09 +0000 |
commit | b4f61dfe678eeb5932836f042d9e7a7604d1c729 (patch) | |
tree | 94629d07f67baa723531002e7d6de4838f9966b2 /tshark.c | |
parent | bcba2a44e32083b819be3b83d16ba80336d8db96 (diff) | |
download | wireshark-b4f61dfe678eeb5932836f042d9e7a7604d1c729.tar.gz wireshark-b4f61dfe678eeb5932836f042d9e7a7604d1c729.tar.bz2 wireshark-b4f61dfe678eeb5932836f042d9e7a7604d1c729.zip |
Fix indentation.
svn path=/trunk/; revision=32886
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -1904,23 +1904,23 @@ capture(void) if (!ret) return FALSE; - /* the actual capture loop - * - * XXX - glib doesn't seem to provide any event based loop handling. - * - * XXX - for whatever reason, - * calling g_main_loop_new() ends up in 100% cpu load. - * - * But that doesn't matter: in UNIX we can use select() to find an input - * source with something to do. - * - * But that doesn't matter because we're in a CLI (that doesn't need to - * update a GUI or something at the same time) so it's OK if we block - * trying to read from the pipe. - * - * So all the stuff in USE_TSHARK_SELECT could be removed unless I'm - * wrong (but I leave it there in case I am...). - */ + /* the actual capture loop + * + * XXX - glib doesn't seem to provide any event based loop handling. + * + * XXX - for whatever reason, + * calling g_main_loop_new() ends up in 100% cpu load. + * + * But that doesn't matter: in UNIX we can use select() to find an input + * source with something to do. + * + * But that doesn't matter because we're in a CLI (that doesn't need to + * update a GUI or something at the same time) so it's OK if we block + * trying to read from the pipe. + * + * So all the stuff in USE_TSHARK_SELECT could be removed unless I'm + * wrong (but I leave it there in case I am...). + */ #ifdef USE_TSHARK_SELECT FD_ZERO(&readfds); |