Skip to content
Snippets Groups Projects
Commit 4298b708 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

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

parent 72b31bb0
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment