fix code in generate_bookmark_name() that writes a null to the end of the bookmark name string.

Thu, 13 Mar 2003 03:38:59 +0000

author
eric
date
Thu, 13 Mar 2003 03:38:59 +0000
changeset 116
73d3ba4f6ba2
parent 115
dba0804a5871
child 117
129e16d9b5f4

fix code in generate_bookmark_name() that writes a null to the end of the bookmark name string.

t2p.c file | annotate | diff | revisions
tumble.c file | annotate | diff | revisions
     1.1 --- a/t2p.c	Thu Mar 13 03:30:44 2003 +0000
     1.2 +++ b/t2p.c	Thu Mar 13 03:38:59 2003 +0000
     1.3 @@ -4,7 +4,7 @@
     1.4   *      will be compressed using ITU-T T.6 (G4) fax encoding.
     1.5   *
     1.6   * Main program
     1.7 - * $Id: t2p.c,v 1.29 2003/03/12 02:58:33 eric Exp $
     1.8 + * $Id: t2p.c,v 1.30 2003/03/12 19:38:59 eric Exp $
     1.9   * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
    1.10   *
    1.11   * This program is free software; you can redistribute it and/or modify
    1.12 @@ -582,7 +582,7 @@
    1.13  	  }
    1.14        bookmark_fmt++;
    1.15      }
    1.16 -  *bookmark_fmt = '\0';
    1.17 +  *name = '\0';
    1.18  }
    1.19  
    1.20  
     2.1 --- a/tumble.c	Thu Mar 13 03:30:44 2003 +0000
     2.2 +++ b/tumble.c	Thu Mar 13 03:38:59 2003 +0000
     2.3 @@ -4,7 +4,7 @@
     2.4   *      will be compressed using ITU-T T.6 (G4) fax encoding.
     2.5   *
     2.6   * Main program
     2.7 - * $Id: tumble.c,v 1.29 2003/03/12 02:58:33 eric Exp $
     2.8 + * $Id: tumble.c,v 1.30 2003/03/12 19:38:59 eric Exp $
     2.9   * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
    2.10   *
    2.11   * This program is free software; you can redistribute it and/or modify
    2.12 @@ -582,7 +582,7 @@
    2.13  	  }
    2.14        bookmark_fmt++;
    2.15      }
    2.16 -  *bookmark_fmt = '\0';
    2.17 +  *name = '\0';
    2.18  }
    2.19  
    2.20