pike.git / src / modules / Yp / yp.c

version» Context lines:

pike.git/src/modules/Yp/yp.c:78:    *!    *! Returns the hostname of the server serving the map @[map]. @[map]    *! is the YP-map to search in. This must be the full map name.    *! eg @tt{passwd.byname@} instead of just @tt{passwd@}.    */   static void f_server(INT32 args)   {    int err;    char *ret, *map;    -  get_all_args("server", args, "%s", &map); +  get_all_args(NULL, args, "%s", &map);    err = yp_master(this->domain, map, &ret);       YPERROR( err );       pop_n_elems( args );    push_text( ret );   }      /*! @decl void create(string|void domain)    *! @decl void bind(string domain)