Changeset 276
- Timestamp:
- 06/01/10 14:11:08 (20 months ago)
- Location:
- trunk/src
- Files:
-
- 2 modified
-
ows/ows_error.c (modified) (2 diffs)
-
wfs/wfs_get_capabilities.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ows/ows_error.c
r269 r276 75 75 assert(locator != NULL); 76 76 77 if (o->log != NULL) 78 fprintf(o->log, "[ERROR] {%s:%s} %s\n", 79 ows_error_code_string(code), locator, message); 80 77 81 fprintf(o->output, "Content-Type: application/xml\n\n"); 78 82 fprintf(o->output, "<?xml version='1.0' encoding='UTF-8'?>\n"); … … 90 94 fprintf(o->output, "</ows:ExceptionReport>\n"); 91 95 92 if (o->log != NULL) 93 fprintf(o->log, "[ERROR] {%s:%s} %s\n", 94 ows_error_code_string(code), locator, message); 95 96 #if 0 96 97 #if TINYOWS_FCGI 97 98 OS_LibShutdown(); 99 #endif 98 100 #endif 99 101 -
trunk/src/wfs/wfs_get_capabilities.c
r272 r276 215 215 /* print global operations */ 216 216 217 if ( ows_layer_list_ writable(o->layers)217 if ( ows_layer_list_retrievable(o->layers) 218 218 || ows_layer_list_writable(o->layers)) 219 219 fprintf(o->output, " <Operations>\n"); … … 242 242 } 243 243 244 if ( ows_layer_list_ writable(o->layers)244 if ( ows_layer_list_retrievable(o->layers) 245 245 || ows_layer_list_writable(o->layers)) 246 246 fprintf(o->output, " </Operations>\n"); … … 358 358 } 359 359 360 if (writable == true && ln->layer->writable == true) {360 if (writable == false && ln->layer->writable == true) { 361 361 if (ows_version_get(o->request->version) == 100) { 362 362 fprintf(o->output, " <Insert/>\n");