Changeset 3687413 for variable.c
- Timestamp:
- May 16, 2010, 1:15:23 AM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- f034ac0
- Parents:
- 7ba9e0de
- git-author:
- David Benjamin <davidben@mit.edu> (05/14/10 18:12:21)
- git-committer:
- David Benjamin <davidben@mit.edu> (05/16/10 01:15:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
variable.c
r4d9e4254 r3687413 428 428 int owl_variable_pseudologins_set(owl_variable *v, const void *newval) 429 429 { 430 static owl_timer *timer = NULL; 430 431 if (newval) { 431 432 if (*(const int*)newval == 1) { 432 433 owl_function_zephyr_buddy_check(0); 434 if (timer == NULL) { 435 timer = owl_select_add_timer(180, 180, owl_zephyr_buddycheck_timer, NULL, NULL); 436 } 437 } else { 438 if (timer != NULL) { 439 owl_select_remove_timer(timer); 440 timer = NULL; 441 } 433 442 } 434 443 }
Note: See TracChangeset
for help on using the changeset viewer.