aboutsummaryrefslogtreecommitdiffstats
path: root/apps/sympathy.c
diff options
context:
space:
mode:
authorjames <>2008-02-20 18:35:10 +0000
committerjames <>2008-02-20 18:35:10 +0000
commitd9a2ac9befcee5e530a5aa387b0f192444ad9730 (patch)
treef9dbecb47ac33ff621356be77ba849816966c027 /apps/sympathy.c
parent2bd12c505855b89712fa3bc287d4a504d737e0e3 (diff)
downloadsympathy-d9a2ac9befcee5e530a5aa387b0f192444ad9730.tar.gz
sympathy-d9a2ac9befcee5e530a5aa387b0f192444ad9730.tar.bz2
sympathy-d9a2ac9befcee5e530a5aa387b0f192444ad9730.zip
*** empty log message ***
Diffstat (limited to 'apps/sympathy.c')
-rw-r--r--apps/sympathy.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/apps/sympathy.c b/apps/sympathy.c
index 29cf0ac..a754b3d 100644
--- a/apps/sympathy.c
+++ b/apps/sympathy.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.8 2008/02/20 18:33:37 james
+ * *** empty log message ***
+ *
* Revision 1.7 2008/02/20 18:31:44 james
* *** empty log message ***
*
@@ -303,11 +306,11 @@ main (int argc, char *argv[])
if (oflags['n'])
{
- nhistory = safe_atoi (oargs['n']);
- if (nhistory < 0)
+ history = safe_atoi (oargs['n']);
+ if (history < 0)
fatal_moan ("cannot parse -n %s as an integer", oargs['n']);
- if (!nhistory)
+ if (!history)
fatal_moan ("agrument to -n must be greater than zero");
}
@@ -468,7 +471,7 @@ main (int argc, char *argv[])
}
}
- mainloop (tty, server_socket, client_socket, ansi, log, nhistory);
+ mainloop (tty, server_socket, client_socket, ansi, log, history);
if (ansi)
{