Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

Commit

Permalink
rename this guy something less ambiguous, since the default parameter…
Browse files Browse the repository at this point in the history
…s in pub_server() make it unclear which function should be called
  • Loading branch information
mmaxim committed Aug 30, 2012
1 parent 2505488 commit 27eee8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libpub/pslave.h
Expand Up @@ -60,7 +60,7 @@ bool pub_server (pubserv_cb cb, u_int port, u_int32_t addr = INADDR_ANY,
int *out_fd = NULL);
int pub_server (pubserv_cb cb, const str &path,
int *out_fd = NULL);
int pub_server (pubserv_cb cb, int pubfd);
int pub_server_clientfd (pubserv_cb cb, int pubfd);

pslave_status_t pub_slave (pubserv_cb cb, u_int port = 0,
pslave_status_t *s = NULL);
Expand Down
2 changes: 1 addition & 1 deletion libpub/slave.C
Expand Up @@ -124,7 +124,7 @@ pub_server (pubserv_cb cb, const str &s, int *outfd)
}

int
pub_server (pubserv_cb cb, int pubfd) {
pub_server_clientfd (pubserv_cb cb, int pubfd) {
pub_server_fd(wrap (pub_accept, cb, pubfd), pubfd);
return true;
}
Expand Down

0 comments on commit 27eee8b

Please sign in to comment.