1
0
mirror of synced 2026-01-13 15:27:55 +00:00

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

This commit is contained in:
Eric Smith 2003-03-13 03:38:59 +00:00
parent 7eaecce022
commit e553bcb350
2 changed files with 4 additions and 4 deletions

4
t2p.c
View File

@ -4,7 +4,7 @@
* will be compressed using ITU-T T.6 (G4) fax encoding.
*
* Main program
* $Id: t2p.c,v 1.29 2003/03/12 02:58:33 eric Exp $
* $Id: t2p.c,v 1.30 2003/03/12 19:38:59 eric Exp $
* Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
*
* This program is free software; you can redistribute it and/or modify
@ -582,7 +582,7 @@ static void generate_bookmark_name (char *name,
}
bookmark_fmt++;
}
*bookmark_fmt = '\0';
*name = '\0';
}

View File

@ -4,7 +4,7 @@
* will be compressed using ITU-T T.6 (G4) fax encoding.
*
* Main program
* $Id: tumble.c,v 1.29 2003/03/12 02:58:33 eric Exp $
* $Id: tumble.c,v 1.30 2003/03/12 19:38:59 eric Exp $
* Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
*
* This program is free software; you can redistribute it and/or modify
@ -582,7 +582,7 @@ static void generate_bookmark_name (char *name,
}
bookmark_fmt++;
}
*bookmark_fmt = '\0';
*name = '\0';
}