diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-03-16 23:19:31 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-03-16 23:19:31 +0000 |
commit | ceb9e37ffc7c23619f8f02c6b68f2a19a495a266 (patch) | |
tree | ce8b7d21682c3b9fb602b6b4a19fae6f42a0672d /irc/srvx/files/patch-src-proto-p10.c | |
parent | Kupu is a 'document-centric' open source client-side editor for Mozilla, (diff) |
- Update to 1.3
PR: ports/78861
Submitted by: Danny Koenig <dako@bsdberlin.org>
Approved by: Walter Venable <weaseal@hotmail.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=131450
Diffstat (limited to 'irc/srvx/files/patch-src-proto-p10.c')
-rw-r--r-- | irc/srvx/files/patch-src-proto-p10.c | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/irc/srvx/files/patch-src-proto-p10.c b/irc/srvx/files/patch-src-proto-p10.c new file mode 100644 index 000000000000..b091a3cae966 --- /dev/null +++ b/irc/srvx/files/patch-src-proto-p10.c @@ -0,0 +1,49 @@ +--- src/proto-p10.c.old Tue Feb 22 05:11:21 2005 ++++ src/proto-p10.c Mon Mar 14 22:21:12 2005 +@@ -367,10 +367,10 @@ + if (srv == self) { + /* The +s, ignored by Run's ircu, means "service" to Undernet's ircu */ + putsock(P10_SERVER " %s %d %li %li J10 %s%s +s :%s", +- srv->name, srv->hops+1, srv->boot, srv->link, srv->numeric, extranum, srv->description); ++ srv->name, srv->hops+1, (long)srv->boot, (long)srv->link, srv->numeric, extranum, srv->description); + } else { + putsock("%s " P10_SERVER " %s %d %li %li %c10 %s%s +s :%s", +- self->numeric, srv->name, srv->hops+1, srv->boot, srv->link, (srv->self_burst ? 'J' : 'P'), srv->numeric, extranum, srv->description); ++ self->numeric, srv->name, srv->hops+1, (long)srv->boot, (long)srv->link, (srv->self_burst ? 'J' : 'P'), srv->numeric, extranum, srv->description); + } + } + +@@ -408,10 +408,10 @@ + + /* we don't need to put the + in modes because it's in the format string. */ + putsock("%s " P10_NICK " %s %d %li %s %s +%s %s %s :%s", +- user->uplink->numeric, user->nick, user->uplink->hops+1, user->timestamp, user->ident, user->hostname, modes, b64ip, user->numeric, user->info); ++ user->uplink->numeric, user->nick, user->uplink->hops+1, (long)user->timestamp, user->ident, user->hostname, modes, b64ip, user->numeric, user->info); + } else { + putsock("%s " P10_NICK " %s %d %li %s %s %s %s :%s", +- user->uplink->numeric, user->nick, user->uplink->hops+1, user->timestamp, user->ident, user->hostname, b64ip, user->numeric, user->info); ++ user->uplink->numeric, user->nick, user->uplink->hops+1, (long)user->timestamp, user->ident, user->hostname, b64ip, user->numeric, user->info); + } + } + +@@ -545,7 +545,7 @@ + irc_gline(struct server *srv, struct gline *gline) + { + putsock("%s " P10_GLINE " %s +%s %ld :%s", +- self->numeric, (srv ? srv->numeric : "*"), gline->target, gline->expires-now, gline->reason); ++ self->numeric, (srv ? srv->numeric : "*"), gline->target, (long)gline->expires-now, gline->reason); + } + + void +@@ -680,9 +680,9 @@ + { + if (what->members.used == 1) { + putsock("%s " P10_CREATE " %s %lu", +- who->numeric, what->name, what->timestamp); ++ who->numeric, what->name, (long)what->timestamp); + } else { +- putsock("%s " P10_JOIN " %s %lu", who->numeric, what->name, what->timestamp); ++ putsock("%s " P10_JOIN " %s %lu", who->numeric, what->name, (long)what->timestamp); + } + } + |