diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2010-09-29 21:45:56 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2010-09-29 21:45:56 +0000 |
commit | 28ed9cda2a47c17130ee5b97588695ed3acb4e45 (patch) | |
tree | 8de89d205b94221a7941177f365f0e05c0fad039 /lib/util/token.c | |
parent | c1b82fa06e7e88a68c877c501fc0422888920415 (diff) | |
download | netpbm-mirror-28ed9cda2a47c17130ee5b97588695ed3acb4e45.tar.gz netpbm-mirror-28ed9cda2a47c17130ee5b97588695ed3acb4e45.tar.xz netpbm-mirror-28ed9cda2a47c17130ee5b97588695ed3acb4e45.zip |
Rename nstring.h functions with pm_ prefix
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1320 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/util/token.c')
-rw-r--r-- | lib/util/token.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/util/token.c b/lib/util/token.c index c4fe0aed..a68a4821 100644 --- a/lib/util/token.c +++ b/lib/util/token.c @@ -38,7 +38,8 @@ pm_gettoken(const char * const tokenStart, if (*cursor == '\\') { ++cursor; if (*cursor == '\0') - asprintfN(errorP, "string ends with an escape character (\\)"); + pm_asprintf(errorP, + "string ends with an escape character (\\)"); } else { ++cursor; ++charCount; @@ -47,9 +48,9 @@ pm_gettoken(const char * const tokenStart, if (!*errorP) { token = malloc(charCount + 1); if (token == NULL) - asprintfN(errorP, "Could not allocate %u bytes of memory " - "to parse a string", - charCount + 1); + pm_asprintf(errorP, "Could not allocate %u bytes of memory " + "to parse a string", + charCount + 1); else { /* Go back and do it again, this time copying the characters */ charCount = 0; |