commit 2d1ad07d04870a60ae15901172e5712c60edae59
parent 242be648bef43f593561269a293470916ba0fb9c
Author: = <miles.sandlar@gmail.com>
Date: Mon, 17 Sep 2012 15:41:36 -0400
Removed malloc'ing in util for now
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/util.c b/src/util.c
@@ -91,9 +91,12 @@ int bytesUntilNull(char * string) {
}
char * stringAppend(char * originalString, char * appendContent) {
+ /*
char * returnString = (char *) malloc(strlen(originalString) + strlen(appendContent));
strcpy(returnString, originalString);
strcat(returnString, appendContent);
return returnString;
+ */
+ return originalString;
}