Changeset 1812
- Timestamp:
- 08/14/08 12:56:06 (3 months ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/cherokee/server.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r1810 r1812 1 1 2008-08-14 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * cherokee/server.c (add_vserver): Adds a sanity check. It makes 4 sure that the virtual server number can be actually converted into 5 an integer number. 2 6 3 7 * cherokee/server.c: Clean up. Removes an unnecessary check that cherokee/trunk/cherokee/server.c
r1810 r1812 1291 1291 cherokee_server_t *srv = SRV(data); 1292 1292 1293 prio = atoi(conf->key.buf); 1293 prio = atoi (conf->key.buf); 1294 if (prio <= 0) { 1295 PRINT_ERROR ("Invalid Virtual Server entry '%s'\n", conf->key.buf); 1296 return ret_error; 1297 } 1298 1294 1299 TRACE (ENTRIES, "Adding vserver prio=%d\n", prio); 1295 1300