diff options
author | blueswir1 | 2007-10-26 21:01:16 +0200 |
---|---|---|
committer | blueswir1 | 2007-10-26 21:01:16 +0200 |
commit | 9634d9031c140b24c7ca0d8872632207f6ce7275 (patch) | |
tree | 34ba241de1f12fcbd4e3301f081c50ff2db654da /slirp/debug.c | |
parent | Make Slirp statistics gathering and output conditional to LOG_ENABLED (diff) | |
download | qemu-9634d9031c140b24c7ca0d8872632207f6ce7275.tar.gz qemu-9634d9031c140b24c7ca0d8872632207f6ce7275.tar.xz qemu-9634d9031c140b24c7ca0d8872632207f6ce7275.zip |
Use const and static as needed, disable unused code
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3452 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/debug.c')
-rw-r--r-- | slirp/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slirp/debug.c b/slirp/debug.c index 77d5044525..7c8581d631 100644 --- a/slirp/debug.c +++ b/slirp/debug.c @@ -92,9 +92,9 @@ ttystats(ttyp) lprint(" \r\n"); - if (if_comp & IF_COMPRESS) + if (IF_COMP & IF_COMPRESS) strcpy(buff, "on"); - else if (if_comp & IF_NOCOMPRESS) + else if (IF_COMP & IF_NOCOMPRESS) strcpy(buff, "off"); else strcpy(buff, "off (for now)"); |