[Commits] [SCM] claws branch, master, updated. 3.15.0-32-g9bc2a70
ticho at claws-mail.org
ticho at claws-mail.org
Fri Apr 21 18:03:30 CEST 2017
The branch, master has been updated
via 9bc2a70b66eb2ccf35d33273c0c5b3bc4a30e5ff (commit)
from 680a2ee6756139a32755a09edc77472147f8e64b (commit)
Summary of changes:
src/ssl_manager.c | 21 ---------------------
1 file changed, 21 deletions(-)
- Log -----------------------------------------------------------------
commit 9bc2a70b66eb2ccf35d33273c0c5b3bc4a30e5ff
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Fri Apr 21 18:02:38 2017 +0200
Remove an unused function - cleanup after 680a2ee67.
diff --git a/src/ssl_manager.c b/src/ssl_manager.c
index fb6c4c5..623d2f9 100644
--- a/src/ssl_manager.c
+++ b/src/ssl_manager.c
@@ -232,27 +232,6 @@ static gboolean get_serverport(const gchar *str, gchar **server, gchar **port)
return FALSE;
}
-static char *get_port(const char *str)
-{
- const char *pos, *prevpos;
- char *port;
-
- g_return_val_if_fail(str != NULL, NULL);
-
- /* Iterate through all '.'-separated chunks, and the last one
- * before the .cert or .cert.chain suffix is the port number. */
- for (prevpos = str, pos = strstr(str, ".") + 1;
- pos != NULL;
- prevpos = pos, pos = strstr(pos, ".") + 1) {
- if (!strcmp(pos, "cert") || !strcmp(pos, "cert.chain")) {
- port = strndup(prevpos, pos - prevpos - 1);
- return port;
- }
- }
-
- return NULL;
-}
-
static char *get_fingerprint(const char *str)
{
char *ret = NULL, *tmp = g_strdup(str);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list