last

git clone git://oldgit.suckless.org/last/
Log | Files | Refs

commit 184d2e480ecd07edc897e77c42b6028eb7b26c6d
parent 4f14f73eb8c0ee5ed1062baddcd69f6ae9d90c3b
Author: Kris Maglione <jg@suckless.org>
Date:   Thu,  9 Aug 2007 15:14:34 -0400

Typo.

Diffstat:
last.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/last.c b/last.c @@ -123,6 +123,8 @@ get(char *path, char *fmt, ...) { resp[i] = nil; } + if(debug['a'] && !debug['h']) + print("GET %q %s\n", host, uri); b = httpget(host, uri); free(uri); if(b == nil) { @@ -307,7 +309,7 @@ threadmain(int argc, char *argv[]) { if(!strcmp(q, "skip") || !strcmp(q, "ban")) { skipping = 1; label("Skipping..."); - rpc("control", "command=%h", s); + rpc("control", "command=%h", q); printresp(); }else if(!strcmp(q, "love")) {