summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2004-08-23 22:35:21 +0000
committerStef Walter <stef@thewalter.net>2004-08-23 22:35:21 +0000
commitff26b4137c6dc3d622336e725bd6f5630b301027 (patch)
tree536fa628fb74422adcd7486c5e483e6a6c5e354d /src
parent8396a35831f126f9b7281746b90f6b00effd6da2 (diff)
Fixes and changes due to RTF converter not working properly.
Diffstat (limited to 'src')
-rw-r--r--src/rep.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/rep.c b/src/rep.c
index 5eda279..4a7fbb5 100644
--- a/src/rep.c
+++ b/src/rep.c
@@ -89,7 +89,10 @@ int replaceSingleFile(r_context* ctx, const char* szIn);
/* Error stuff */
int usage();
-
+void blah(void)
+{
+ printf("exiting\n");
+}
/* ------------------------------------------------------------------------ */
@@ -101,7 +104,7 @@ int main(int argc, char* argv[])
int ch = 0;
- /*
+ /*
* Function return values throughout program are a bit different
*
* 0 = normal operation
@@ -111,6 +114,7 @@ int main(int argc, char* argv[])
int ret = 0;
int r = R_OK;
+ atexit(blah);
/* Enough params? */
if(argc < 2)