diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-04-07 08:13:54 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-04-07 08:13:54 +0000 |
commit | 51dfc6200e7601c0dca71d5537462afdd257b88e (patch) | |
tree | 0288b581a8a8d4269f7029692cdbf31a49d116a0 | |
parent | cb01267f42eba7bc5a572235e5d2571cc9b60303 (diff) |
hexfile.c was accidentally left out of r6313
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6337 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r-- | xpp/hexfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xpp/hexfile.c b/xpp/hexfile.c index 2a01b3f..1227b26 100644 --- a/xpp/hexfile.c +++ b/xpp/hexfile.c @@ -1,6 +1,6 @@ /* * Written by Oron Peled <oron@actcom.co.il> - * Copyright (C) 2006, Xorcom + * Copyright (C) 2006, 2007, 2008, Xorcom * * All rights reserved. * @@ -426,6 +426,7 @@ struct hexdata *parse_hexfile(const char *fname, unsigned int maxlines) report_func(LOG_ERR, "Failed to open hexfile '%s'\n", fname); goto err; } + snprintf(hexdata->fname, PATH_MAX, "%s", fname); for(line = 1; fgets(buf, BUFSIZ, fp); line++) { if(dos_eof) { if(report_func) |