Displaying 1 result from an estimated 1 matches for "home_server_len".
1997 Oct 03
1
Homedir maps (+small patch)
...if (*nis_result == '-') {
+ /* Search upto whitespace */
+ for (;*nis_result != ' ' && *nis_result != '\t';nis_result++) ;
+ /* Remove whitespaces */
+ for (;*nis_result == ' ' || *nis_result == '\t';nis_result++) ;
+ }
+
home_server_len = strcspn(nis_result,":");
DEBUG(3, ("NIS lookup succeeded\n\tHome server length: %d\n",home_server_len));
vuser->home_share = (char *)Realloc(vuser->home_share, home_server_len+12);