[hackers] [wmii] Fixed a dial that should have been an announce.

From: Kris Maglione <jg_AT_suckless.org>
Date: Mon Mar 26 19:27:48 2007

changeset: 2038:1f93f39bc2a5
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Mar 26 13:26:45 2007 -0400
summary: Fixed a dial that should have been an announce.

diff -r fb46f5b4d264 -r 1f93f39bc2a5 cmd/wmii/main.c
--- a/cmd/wmii/main.c Mon Mar 26 13:03:43 2007 -0400
+++ b/cmd/wmii/main.c Mon Mar 26 13:26:45 2007 -0400
@@ -422,7 +422,7 @@ check_9pcon(IxpConn *c) {
 
 int
 main(int argc, char *argv[]) {
- char *wmiirc, *errstr;
+ char *wmiirc;
         WMScreen *s;
         XSetWindowAttributes wa;
         int i;
@@ -469,7 +469,7 @@ main(int argc, char *argv[]) {
         init_traps();
 
         errstr = nil;
- sock = ixp_dial(address);
+ sock = ixp_announce(address);
         if(sock < 0)
                 fatal("Can't create socket '%s': %s", address, errstr);
 
Received on Mon Mar 26 2007 - 19:27:48 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:25 UTC