tangled
alpha
login
or
join now
jcs.org
/
mutt
0
fork
atom
mutt stable branch with some hacks
0
fork
atom
overview
issues
pulls
pipelines
Fix three build warnings when DEBUG isn't defined.
Richard Russon
10 years ago
950cbaac
2ad5f4b6
+8
-1
2 changed files
expand all
collapse all
unified
split
hcache.c
imap
auth_gss.c
+4
hcache.c
reviewed
···
931
931
return 0;
932
932
else
933
933
{
934
934
+
#ifdef DEBUG
934
935
int ecode = tcbdbecode (h->db);
935
936
dprint (2, (debugfile, "tcbdbopen failed for %s: %s (ecode %d)\n", path, tcbdberrmsg (ecode), ecode));
937
937
+
#endif
936
938
tcbdbdel(h->db);
937
939
return -1;
938
940
}
···
946
948
947
949
if (!tcbdbclose(h->db))
948
950
{
951
951
+
#ifdef DEBUG
949
952
int ecode = tcbdbecode (h->db);
950
953
dprint (2, (debugfile, "tcbdbclose failed for %s: %s (ecode %d)\n", h->folder, tcbdberrmsg (ecode), ecode));
954
954
+
#endif
951
955
}
952
956
tcbdbdel(h->db);
953
957
FREE(&h->folder);
+4
-1
imap/auth_gss.c
reviewed
···
87
87
gss_ctx_id_t context;
88
88
#ifdef DEBUG
89
89
gss_OID mech_name;
90
90
+
char server_conf_flags;
90
91
#endif
91
92
gss_qop_t quality;
92
93
int cflags;
93
94
OM_uint32 maj_stat, min_stat;
94
94
-
char buf1[GSS_BUFSIZE], buf2[GSS_BUFSIZE], server_conf_flags;
95
95
+
char buf1[GSS_BUFSIZE], buf2[GSS_BUFSIZE];
95
96
unsigned long buf_size;
96
97
int rc;
97
98
···
230
231
dprint (2, (debugfile, "Credential exchange complete\n"));
231
232
232
233
/* first octet is security levels supported. We want NONE */
234
234
+
#ifdef DEBUG
233
235
server_conf_flags = ((char*) send_token.value)[0];
236
236
+
#endif
234
237
if ( !(((char*) send_token.value)[0] & GSS_AUTH_P_NONE) )
235
238
{
236
239
dprint (2, (debugfile, "Server requires integrity or privacy\n"));