diff options
Diffstat (limited to 'src/lib9/quote.c')
-rw-r--r-- | src/lib9/quote.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib9/quote.c b/src/lib9/quote.c index f850009a..8ab65923 100644 --- a/src/lib9/quote.c +++ b/src/lib9/quote.c @@ -92,7 +92,7 @@ quotestrdup(char *s) if(__needsquotes(s, "elen) == 0) return strdup(s); - + ret = malloc(quotelen+1); if(ret == nil) return nil; @@ -118,7 +118,7 @@ quoterunestrdup(Rune *s) if(__runeneedsquotes(s, "elen) == 0) return runestrdup(s); - + ret = malloc((quotelen+1)*sizeof(Rune)); if(ret == nil) return nil; |