Changeset 5972
- Timestamp:
- 03/28/10 16:27:11 (3 years ago)
- Files:
-
- 1 modified
-
luci2/upsd/service.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
luci2/upsd/service.c
r5826 r5972 332 332 *c-- = 0; 333 333 } 334 if (!memcmp(buffer, UPSD_LITERAL_PTRSIZE("# X-Command:"))) { 335 free(init->identifier); 336 char *c = buffer + 12; 337 while (isspace(*c)) { 338 c++; 339 } 340 init->identifier = strdup(c); 341 } 334 342 if (++options == opts) { 335 343 opts += 4;
