Commit 4298b708 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#3424] Shielded unused pointers in Accounts Local IP parameters

parent 72b31bb0
......@@ -1365,7 +1365,7 @@ void show_account_window (account_t * a) {
}
if (strcmp (proto, "SIP") == 0) {
if (proto && strcmp (proto, "SIP") == 0) {
if (g_strcasecmp (currentAccount->accountID, IP2IP) != 0) {
......@@ -1457,7 +1457,7 @@ void show_account_window (account_t * a) {
}
if (strcmp(currentProtocol, "SIP") == 0) {
if (currentProtocol && strcmp(currentProtocol, "SIP") == 0) {
/* Set new credentials if any */
DEBUG("Config: Setting credentials");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment