Mercurial > hg > nnchat
comparison main.c @ 553:b464409fa643
Make LOG_* flags enum more readable and extendable by using hexadecimal values.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 12 Nov 2012 19:10:58 +0200 |
parents | dfe46cd1b81b |
children | 13901e9be15b |
comparison
equal
deleted
inserted
replaced
552:dfe46cd1b81b | 553:b464409fa643 |
---|---|
77 | 77 |
78 /* Logging mode flags | 78 /* Logging mode flags |
79 */ | 79 */ |
80 enum | 80 enum |
81 { | 81 { |
82 LOG_FILE = 1, | 82 LOG_FILE = 0x0001, |
83 LOG_WINDOW = 2, | 83 LOG_WINDOW = 0x0002, |
84 LOG_STAMP = 4, | 84 LOG_STAMP = 0x0004, |
85 LOG_FILE2 = 8 | 85 LOG_FILE2 = 0x0008, |
86 }; | 86 }; |
87 | 87 |
88 | 88 |
89 /* Arguments | 89 /* Arguments |
90 */ | 90 */ |