Changeset 653 for trunk/zoo-project/zoo-kernel/server_internal.c
- Timestamp:
- Jun 12, 2015, 1:12:32 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/server_internal.c
r652 r653 31 31 #include <uuid/uuid.h> 32 32 33 /** 34 * Detect WPS version used (1.0.0 or 2.0.0). 35 * 36 * @param version number as char* (1.0.0 or 2.0.0) 37 * @return 0 in case of version 1.0.0, 1 for 2.0.0, -1 in other case 38 */ 33 39 int getVersionId(const char* version){ 34 40 int schemaId=0; … … 37 43 return schemaId; 38 44 } 39 return 0;45 return -1; 40 46 } 41 47 … … 51 57 uuid_t uuid; 52 58 uuid_generate_time(uuid); 53 char * rest;59 char rest[128]; 54 60 uuid_unparse(uuid,rest); 55 61 sprintf(res,"%s", rest);
Note: See TracChangeset
for help on using the changeset viewer.