Changeset - bccdcbb96c86
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 16 years ago 2009-10-13 22:58:02
ohnobinki@ohnopublishing.net
properly initilize pointers
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -980,6 +980,10 @@ int main(int argc, char *argv[])
 
      fprintf(stderr, "\nFrame#:%d", tmp_frame->num);
 
      break;
 
    case 4:
 
      name = NULL;
 
      submitter = NULL;
 
      email = NULL;
 

	
 
      fprintf(stderr, "\nType: \n\t 1 \t blender\n\t 2 \t povray\n"); scanf("%d", &type);
 
      fprintf(stderr, "\nName: ");                     getline(&name, &read_buf, stdin);
 
      fprintf(stderr, "\nSubmitter: ");                getline(&submitter, &read_buf, stdin);
0 comments (0 inline, 0 general)