Skip to content

Instantly share code, notes, and snippets.

@robinsmidsrod
Created July 17, 2009 12:21
Show Gist options
  • Save robinsmidsrod/149027 to your computer and use it in GitHub Desktop.
Save robinsmidsrod/149027 to your computer and use it in GitHub Desktop.
int main(int argc, char **argv) {
char *socket_path = "/var/run/dovecot/auth-master";
// Specify alternate path to socket
if ( argc >= 2 ) {
socket_path = argv[1];
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment