summaryrefslogtreecommitdiff
path: root/src/issuemem.c
diff options
context:
space:
mode:
authorNick White <arch@njw.me.uk>2008-04-02 22:20:24 +0000
committerNick White <arch@njw.me.uk>2008-04-02 22:20:24 +0000
commit54160445284875eee9ed85d513791b193a076d0b (patch)
treedf991e30a202c4cc3393e98977a9c34a6a09ce48 /src/issuemem.c
parent8e189aaac36056e58b08573c6c57f8dabf1ef905 (diff)
Fix for media xml crash bugs
Formatting Check for empty item titles Created function to check if any part of a string contains a phrase Added some basic error checking to getquote Note this does not completely fix all problems git-archimport-id: getht@sv.gnu.org/getht--mainline--0.1--patch-31
Diffstat (limited to 'src/issuemem.c')
-rw-r--r--src/issuemem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/issuemem.c b/src/issuemem.c
index 3a40d7e..63fe5b4 100644
--- a/src/issuemem.c
+++ b/src/issuemem.c
@@ -125,7 +125,7 @@ med ** assignnew_med(med ** media, int * no_of_media)
(*no_of_media)++;
/* make new array item a pointer to issue */
- if( (tmp[*no_of_media] = malloc(sizeof(med))) == NULL )
+ if( ( tmp[*no_of_media] = malloc(sizeof(med)) ) == NULL )
nogo_mem();
return tmp;