git.samba.org
/
jelmer
/
ctrlproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cb6c07
)
Fix timestamp parsing (?) in topic who time.
author
Jelmer Vernooij
<jelmer@samba.org>
Tue, 8 Apr 2008 02:06:50 +0000
(
04:06
+0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Tue, 8 Apr 2008 02:06:50 +0000
(
04:06
+0200)
lib/state.c
patch
|
blob
|
history
diff --git
a/lib/state.c
b/lib/state.c
index f98ce38d0b90ac1ffab88fb18660d7ad030b6818..1b183185d75c5146e93b84672ba7ea7165f81e2c 100644
(file)
--- a/
lib/state.c
+++ b/
lib/state.c
@@
-562,7
+562,7
@@
static void handle_333(struct irc_network_state *s, const struct irc_line *l)
return;
}
- c->topic_set_time =
atol(l->args[4]
);
+ c->topic_set_time =
strtoul(l->args[4], NULL, 0
);
c->topic_set_by = g_strdup(l->args[3]);
}