Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

dont re-prompt for username if -u is supplied

  • Loading branch information...
commit f99a7d9e199f27af09d93a76fec326f57e6296cd 1 parent a31b0fc
Dave Reisner authored September 02, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  burp.c
2  burp.c
@@ -351,7 +351,7 @@ int main(int argc, char **argv) {
351 351
   }
352 352
 
353 353
   if (!config->cookie_valid) {
354  
-    if (config->cmdline_user || !config->user) {
  354
+    if (!config->cmdline_user && !config->user) {
355 355
       config->user = read_stdin("Enter username", AUR_USER_MAX, 1);
356 356
       if (!config->user || !strlen(config->user)) {
357 357
         fprintf(stderr, "error: invalid username supplied\n");

0 notes on commit f99a7d9

Please sign in to comment.
Something went wrong with that request. Please try again.