webengine/wmlengine/src/utils/src/nw_nvpair.c
branchRCL_3
changeset 58 220a17280356
parent 36 0ed94ceaa377
equal deleted inserted replaced
46:ea4b2e4f7cac 58:220a17280356
   144   NW_ASSERT( thisObj != NULL );
   144   NW_ASSERT( thisObj != NULL );
   145   NW_ASSERT( thisObj->iterPtr == NULL );
   145   NW_ASSERT( thisObj->iterPtr == NULL );
   146   NW_ASSERT( thisObj->strTable == NULL );
   146   NW_ASSERT( thisObj->strTable == NULL );
   147   NW_ASSERT( name != NULL ); 
   147   NW_ASSERT( name != NULL ); 
   148   
   148   
   149   if (name[0] == '\0' ||  value[0] == '\0') {
   149   if (name[0] == '\0') {
   150 
   150 
   151       return KBrsrSuccess;
   151       return KBrsrSuccess;
   152   }
   152   }
   153 
   153 
   154   thisObj->size = thisObj->size + NW_Str_Strlen( name ) + 1;
   154   thisObj->size = thisObj->size + NW_Str_Strlen( name ) + 1;