isblank is C99, not isspace
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 30 Jan 2012 09:43:10 +0000 (09:43 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 30 Jan 2012 09:43:10 +0000 (09:43 +0000)
applications/jpip/libopenjpip/msgqueue_manager.c

index 165d54202d5d3b3e5965f85af9aaf4295a6f2669..5123f797538b89d58c16fd6f53d7b4c63764b1e1 100644 (file)
@@ -658,8 +658,8 @@ void parse_metadata( metadata_param_t *metadata, message_param_t *msg, Byte_t *d
     insert_placeholder_into_list( phld, metadata->placeholderlist);
   }
   else if( isalpha(boxtype[0]) && isalpha(boxtype[1]) &&
-          (isalnum(boxtype[2])||isblank(boxtype[2])) &&
-          (isalpha(boxtype[3])||isblank(boxtype[3]))){
+          (isalnum(boxtype[2])||isspace(boxtype[2])) &&
+          (isalpha(boxtype[3])||isspace(boxtype[3]))){
     if( !metadata->boxlist)
       metadata->boxlist = gene_boxlist();