chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f4b9ba5
)
fix size of state bit table
author
Richard Kettlewell
<rjk@greenend.org.uk>
Mon, 1 Oct 2007 15:02:19 +0000
(16:02 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Mon, 1 Oct 2007 15:02:19 +0000
(16:02 +0100)
lib/eclient.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/eclient.c
b/lib/eclient.c
index 8efefb6f069783169d7e28ab3a7baf19e88fa511..e33cb7cce41024b2a9a936c0ab1cc8df457f96e5 100644
(file)
--- a/
lib/eclient.c
+++ b/
lib/eclient.c
@@
-1189,7
+1189,7
@@
static void logline(disorder_eclient *c, const char *line) {
char **vec;
uintmax_t when;
char **vec;
uintmax_t when;
- D(("log
_opcallback
[%s]", line));
+ D(("log
line
[%s]", line));
vec = split(line, &nvec, SPLIT_QUOTES, logline_error, c);
if(nvec < 2) return; /* probably an error, already
* reported */
vec = split(line, &nvec, SPLIT_QUOTES, logline_error, c);
if(nvec < 2) return; /* probably an error, already
* reported */
@@
-1293,7
+1293,7
@@
static const struct {
{ DISORDER_RANDOM_ENABLED, "enable_random", "disable_random" },
{ DISORDER_TRACK_PAUSED, "pause", "resume" },
};
{ DISORDER_RANDOM_ENABLED, "enable_random", "disable_random" },
{ DISORDER_TRACK_PAUSED, "pause", "resume" },
};
-#define NSTATES (int)(sizeof states
/ sizeof *state
s)
+#define NSTATES (int)(sizeof states
trings / sizeof *statestring
s)
static void logentry_state(disorder_eclient *c,
int attribute((unused)) nvec, char **vec) {
static void logentry_state(disorder_eclient *c,
int attribute((unused)) nvec, char **vec) {