chiark
/
gitweb
/
~ianmdlvl
/
sympathy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[sympathy.git]
/
apps
/
sympathy.c
diff --git
a/apps/sympathy.c
b/apps/sympathy.c
index df351f3e9111f56c40082daeeeb5655cfd2e6937..4ea7bf00e730fd8a81ceda048e4d259295418eae 100644
(file)
--- a/
apps/sympathy.c
+++ b/
apps/sympathy.c
@@
-10,6
+10,9
@@
static char rcsid[] = "$Id$";
/*
* $Log$
/*
* $Log$
+ * Revision 1.11 2008/02/20 20:16:07 james
+ * *** empty log message ***
+ *
* Revision 1.10 2008/02/20 19:44:37 james
* @@
*
* Revision 1.10 2008/02/20 19:44:37 james
* @@
*
@@
-468,15
+471,12
@@
main (int argc, char *argv[])
if (oflags['H'])
{
if (oflags['H'])
{
-
fatal_moan ("fix a bug in HTML dispatcher before this works"
);
+
ansi=ansi_new_html(stdout
);
}
else
{
}
else
{
- ansi = (ANSI *) malloc (sizeof (ANSI));
- memset (ansi, 0, sizeof (ANSI));
-
terminal_register_handlers ();
terminal_register_handlers ();
-
ansi->terminal = terminal_open (0, 1
);
+
ansi=ansi_new_from_terminal(terminal_open(0,1)
);
ansi->reset(ansi, NULL);
}
}
ansi->reset(ansi, NULL);
}
}
@@
-499,6
+499,7
@@
main (int argc, char *argv[])
if (client_socket)
socket_free (client_socket);
if (client_socket)
socket_free (client_socket);
+ if (!oflags['H'])
printf ("you have now exited sympathy\n");
return 0;
}
printf ("you have now exited sympathy\n");
return 0;
}