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