wmbiff: comparison between pointer and integer.
This commit is contained in:
		
							parent
							
								
									edfe4555cb
								
							
						
					
					
						commit
						fddfe9c2ec
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -408,7 +408,7 @@ static struct connection_state *authenticate_plaintext( /*@notnull@ */ Pop3 pc,
 | 
				
			||||||
	char buf[BUF_SIZE];
 | 
						char buf[BUF_SIZE];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	tlscomm_printf(scs, "USER %s\r\n", PCU.userName);
 | 
						tlscomm_printf(scs, "USER %s\r\n", PCU.userName);
 | 
				
			||||||
	if (tlscomm_gets(buf, BUF_SIZE, scs) == NULL) {
 | 
						if (tlscomm_gets(buf, BUF_SIZE, scs) == 0) {
 | 
				
			||||||
		POP_DM(pc, DEBUG_ERROR,
 | 
							POP_DM(pc, DEBUG_ERROR,
 | 
				
			||||||
			   "Error reading from server authenticating '%s@%s:%d'\n",
 | 
								   "Error reading from server authenticating '%s@%s:%d'\n",
 | 
				
			||||||
			   PCU.userName, PCU.serverName, PCU.serverPort);
 | 
								   PCU.userName, PCU.serverName, PCU.serverPort);
 | 
				
			||||||
| 
						 | 
					@ -426,7 +426,7 @@ static struct connection_state *authenticate_plaintext( /*@notnull@ */ Pop3 pc,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	tlscomm_printf(scs, "PASS %s\r\n", PCU.password);
 | 
						tlscomm_printf(scs, "PASS %s\r\n", PCU.password);
 | 
				
			||||||
	if (tlscomm_gets(buf, BUF_SIZE, scs) == NULL) {
 | 
						if (tlscomm_gets(buf, BUF_SIZE, scs) == 0) {
 | 
				
			||||||
		POP_DM(pc, DEBUG_ERROR,
 | 
							POP_DM(pc, DEBUG_ERROR,
 | 
				
			||||||
			   "Error reading from server (2) authenticating '%s@%s:%d'\n",
 | 
								   "Error reading from server (2) authenticating '%s@%s:%d'\n",
 | 
				
			||||||
			   PCU.userName, PCU.serverName, PCU.serverPort);
 | 
								   PCU.userName, PCU.serverName, PCU.serverPort);
 | 
				
			||||||
| 
						 | 
					@ -437,7 +437,7 @@ static struct connection_state *authenticate_plaintext( /*@notnull@ */ Pop3 pc,
 | 
				
			||||||
        PCU.password[0] = '\0';
 | 
					        PCU.password[0] = '\0';
 | 
				
			||||||
        ask_user_for_password(pc, 1);	/* 1=overwrite the cache */
 | 
					        ask_user_for_password(pc, 1);	/* 1=overwrite the cache */
 | 
				
			||||||
        tlscomm_printf(scs, "PASS %s\r\n", PCU.password);
 | 
					        tlscomm_printf(scs, "PASS %s\r\n", PCU.password);
 | 
				
			||||||
        if (tlscomm_gets(buf, BUF_SIZE, scs) == NULL) {
 | 
					        if (tlscomm_gets(buf, BUF_SIZE, scs) == 0) {
 | 
				
			||||||
          POP_DM(pc, DEBUG_ERROR,
 | 
					          POP_DM(pc, DEBUG_ERROR,
 | 
				
			||||||
                 "Error reading from server (2) authenticating '%s@%s:%d'\n",
 | 
					                 "Error reading from server (2) authenticating '%s@%s:%d'\n",
 | 
				
			||||||
                 PCU.userName, PCU.serverName, PCU.serverPort);
 | 
					                 PCU.userName, PCU.serverName, PCU.serverPort);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue