- Timestamp:
- Feb 25, 2018, 3:06:51 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/zoo-project/zoo-kernel/service_internal_ms.c
r865 r867 81 81 */ 82 82 int getPublishedId(maps* elem){ 83 map* myIndex=getMap(elem->content,"published_id"); 84 if(myIndex!=NULL){ 85 return atoi(myIndex->value); 83 if(elem!=NULL && elem->content!=NULL){ 84 map* myIndex=getMap(elem->content,"published_id"); 85 if(myIndex!=NULL){ 86 return atoi(myIndex->value); 87 } 86 88 } 87 89 return 0; 88 90 } 91 89 92 /** 90 93 * Add width and height keys to an output maps containing the maximum width … … 243 246 else 244 247 sprintf(layers,options[proto][3],layerName->value); 245 248 246 249 if(format==NULL || width==NULL || height==NULL || extent==NULL){ 247 250 char tmpStr[1024];
Note: See TracChangeset
for help on using the changeset viewer.