Projet

Général

Profil

Révision b95b1672

IDb95b1672c6d8ee6c3d389390ef355c46fb2ff3a0
Parent f3ae51d9
Enfant bf25714e

Ajouté par Steve Schnepp il y a presque 13 ans

mnc: add empty handler

Voir les différences:

tools/munin-node-c/main.c
64 64
		arg = strtok(line, " \t\n");
65 65

  
66 66
		if (!cmd || strlen(cmd) == 0) {
67
			printf("# empty cmd\n");
67 68
		} else if (strcmp(cmd, "version") == 0) {
68 69
			printf("munin c node version: %s\n", VERSION);
69 70
		} else if (strcmp(cmd, "nodes") == 0) {

Formats disponibles : Unified diff